Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.339/2.339, allocations: 390.3 MB / 405.3 MB, free: 13.49 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 179.4 kB / 498.1 MB, free: 5.699 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.7/1.7, allocations: 223.2 MB / 0.7948 GB, free: 17.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009996/0.0009996, allocations: 88.22 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003777/0.0003777, allocations: 9.938 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2888, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.4757, allocations: 153.2 MB / 1.373 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002647/0.476, allocations: 83.95 kB / 1.373 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02294/0.4989, allocations: 7.967 MB / 1.38 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.499, allocations: 0 / 1.38 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.499, allocations: 4 kB / 1.38 GB, free: 0.7578 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008833/0.4999, allocations: 0.5652 MB / 1.381 GB, free: 136 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.5, allocations: 8.031 kB / 1.381 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.719e-05/0.5, allocations: 38.56 kB / 1.381 GB, free: 80 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.5001, allocations: 23.7 kB / 1.381 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005428/0.5007, allocations: 254.6 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.5007, allocations: 12 kB / 1.381 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.5007, allocations: 19.98 kB / 1.381 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.501, allocations: 99.09 kB / 1.381 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.501, allocations: 0 / 1.381 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.501, allocations: 0 / 1.381 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.501, allocations: 4 kB / 1.381 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001137/0.5011, allocations: 51.97 kB / 1.381 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008549/0.502, allocations: 472.4 kB / 1.382 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004315/0.5024, allocations: 154.9 kB / 1.382 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.5025, allocations: 4.219 kB / 1.382 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.5027, allocations: 115.2 kB / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.973e-06/0.5027, allocations: 0 / 1.382 GB, free: 14.78 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0003484/0.503, allocations: 160.1 kB / 1.382 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.5031, allocations: 55.41 kB / 1.382 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.5033, allocations: 181.6 kB / 1.383 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.732e-05/0.5033, allocations: 33.7 kB / 1.383 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.326e-05/0.5034, allocations: 120.5 kB / 1.383 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.5035, allocations: 35.55 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/0.5035, allocations: 8 kB / 1.383 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5036, allocations: 330.8 kB / 1.383 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.844e-05/0.5037, allocations: 32.36 kB / 1.383 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5039, allocations: 120.4 kB / 1.383 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.475e-05/0.504, allocations: 40.77 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.504, allocations: 0 / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002466/0.5042, allocations: 159.1 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5043, allocations: 4 kB / 1.383 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5043, allocations: 4 kB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.5043, allocations: 4.125 kB / 1.383 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.5044, allocations: 19.92 kB / 1.383 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.5044, allocations: 4 kB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002189/0.5046, allocations: 31.83 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.5046, allocations: 8 kB / 1.383 GB, free: 13.38 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.5048, allocations: 131.5 kB / 1.384 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/0.5048, allocations: 27.75 kB / 1.384 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.5049, allocations: 21.88 kB / 1.384 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.5049, allocations: 4 kB / 1.384 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.5049, allocations: 0 / 1.384 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.5049, allocations: 0 / 1.384 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006828/0.5056, allocations: 0.4943 MB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5056, allocations: 0 / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.883e-05/0.5056, allocations: 8 kB / 1.384 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5056, allocations: 0 / 1.384 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.5057, allocations: 8 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5057, allocations: 3.938 kB / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.5057, allocations: 0 / 1.384 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/0.5059, allocations: 239.2 kB / 1.384 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.506, allocations: 92.91 kB / 1.384 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.496e-05/0.506, allocations: 4 kB / 1.384 GB, free: 12.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.5061, allocations: 15.98 kB / 1.384 GB, free: 12.24 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.5062, allocations: 19.97 kB / 1.384 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.112e-05/0.5063, allocations: 11.98 kB / 1.384 GB, free: 12.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001153/0.5064, allocations: 143.2 kB / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5064, allocations: 0 / 1.385 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003085/0.5067, allocations: 47.91 kB / 1.385 GB, free: 12.02 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007618/0.5075, allocations: 0.8361 MB / 1.385 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002184/0.5077, allocations: 100.1 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5077, allocations: 4.062 kB / 1.386 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.132e-05/0.5078, allocations: 51.92 kB / 1.386 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003351/0.5081, allocations: 51.83 kB / 1.386 GB, free: 10.97 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5094, allocations: 1.197 MB / 1.387 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.5096, allocations: 0.7323 MB / 1.388 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.835e-05/0.5097, allocations: 25.52 kB / 1.388 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.032e-05/0.5098, allocations: 55.41 kB / 1.388 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5098, allocations: 0 / 1.388 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01716/0.527, allocations: 4.954 MB / 1.392 GB, free: 4.121 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.5272, allocations: 238.2 kB / 1.393 GB, free: 3.887 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.375, allocations: 0 / 1.393 GB, free: 3.887 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat