Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.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.Examples.Scatter,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter",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.505/2.505, 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.001135/0.001135, allocations: 169.2 kB / 498.1 MB, free: 5.742 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.554/1.554, allocations: 223.1 MB / 0.7948 GB, free: 18.02 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.001102/0.001102, allocations: 88.39 kB / 0.9346 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 13.67 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3189, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.215/0.534, allocations: 152.6 MB / 1.372 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.5342, allocations: 83.89 kB / 1.372 GB, free: 9.445 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01746/0.5517, allocations: 6.215 MB / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.475e-06/0.5517, allocations: 0 / 1.378 GB, free: 3.191 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.41e-05/0.5518, allocations: 12 kB / 1.378 GB, free: 3.18 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.000872/0.5526, allocations: 0.5359 MB / 1.379 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5527, allocations: 8.031 kB / 1.379 GB, free: 2.578 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.545e-05/0.5528, allocations: 46.55 kB / 1.379 GB, free: 2.523 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.5529, allocations: 15.81 kB / 1.379 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.5534, allocations: 258.6 kB / 1.379 GB, free: 2.215 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.5535, allocations: 12.19 kB / 1.379 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.384e-05/0.5535, allocations: 12 kB / 1.379 GB, free: 2.191 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.5537, allocations: 92.28 kB / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.5538, allocations: 0 / 1.379 GB, free: 2.098 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.5538, allocations: 15.94 kB / 1.379 GB, free: 2.082 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.5538, allocations: 3.938 kB / 1.379 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.554, allocations: 52.53 kB / 1.379 GB, free: 2.027 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008738/0.5549, allocations: 485.5 kB / 1.38 GB, free: 1.504 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001472/0.555, allocations: 74.55 kB / 1.38 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.5551, allocations: 0 / 1.38 GB, free: 1.422 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001575/0.5552, allocations: 103.2 kB / 1.38 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=14): time 1.452e-06/0.5552, allocations: 0 / 1.38 GB, free: 1.309 MB / 0.8698 GB Notification: Performance of matching and sorting (n=14): time 0.0003139/0.5556, allocations: 137.5 kB / 1.38 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.5556, allocations: 63.39 kB / 1.38 GB, free: 1.094 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.5558, allocations: 170.1 kB / 1.38 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.5558, allocations: 33.7 kB / 1.38 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5559, allocations: 128.3 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.556, allocations: 27.61 kB / 1.38 GB, free: 0.7227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.556, allocations: 8 kB / 1.38 GB, free: 0.7148 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.5561, allocations: 338.7 kB / 1.381 GB, free: 384 kB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.359e-05/0.5562, allocations: 27.98 kB / 1.381 GB, free: 356 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.5564, allocations: 120.5 kB / 1.381 GB, free: 204 kB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.923e-05/0.5565, allocations: 43.86 kB / 1.381 GB, free: 164 kB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5566, allocations: 7.938 kB / 1.381 GB, free: 156 kB / 0.8698 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002442/0.5568, allocations: 141.4 kB / 1.381 GB, free: 8 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.5568, allocations: 4.219 kB / 1.381 GB, free: 4 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.513e-05/0.5569, allocations: 4 kB / 1.381 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.5569, allocations: 128 / 1.381 GB, free: 16 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.557, allocations: 23.92 kB / 1.381 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.557, allocations: 0 / 1.381 GB, free: 15.97 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.5572, allocations: 32.03 kB / 1.381 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.5572, allocations: 8 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,sca1.active,$PRE.sca1.tActivateLast,sca1.tActivateLast,sca1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001224/0.5574, allocations: 137.6 kB / 1.381 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.5574, allocations: 15.81 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002219/0.5576, allocations: 134.9 kB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5576, allocations: 0 / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5576, allocations: 0 / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.5576, allocations: 0 / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.5582, allocations: 458.3 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.5582, allocations: 0 / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.698e-05/0.5583, allocations: 8 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5583, allocations: 0 / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.5583, allocations: 4 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.5583, allocations: 11.94 kB / 1.382 GB, free: 15.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5583, allocations: 7.938 kB / 1.382 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002062/0.5585, allocations: 211.3 kB / 1.382 GB, free: 14.88 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.889e-05/0.5586, allocations: 92.91 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.201e-05/0.5586, allocations: 7.938 kB / 1.382 GB, free: 14.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5587, allocations: 11.98 kB / 1.382 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.5588, allocations: 15.94 kB / 1.382 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.458e-05/0.5588, allocations: 15.98 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001073/0.559, allocations: 135.4 kB / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.559, allocations: 0 / 1.382 GB, free: 14.59 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003097/0.5593, allocations: 51.83 kB / 1.382 GB, free: 14.54 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: 11 (sca1.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,sca1.active,sca1.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007341/0.56, allocations: 0.8239 MB / 1.383 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002181/0.5603, allocations: 95.89 kB / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.5603, allocations: 0 / 1.383 GB, free: 13.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 7.737e-05/0.5603, allocations: 43.92 kB / 1.383 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.5606, allocations: 43.86 kB / 1.383 GB, free: 13.53 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/0.5619, allocations: 1.326 MB / 1.385 GB, free: 12.13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.5623, allocations: 0.7283 MB / 1.385 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 8.408e-05/0.5624, allocations: 21.55 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.746e-05/0.5625, allocations: 47.41 kB / 1.385 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of SimCode: time 1.823e-06/0.5625, allocations: 3.938 kB / 1.385 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.5812, allocations: 4.536 MB / 1.39 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002633/0.5815, allocations: 225.9 kB / 1.39 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/2.359, allocations: 7.938 kB / 1.39 GB, free: 6.656 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.Scatter_res.mat does not exist to compare? outputFormat=mat