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.32/2.32, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001021/0.001021, allocations: 176.8 kB / 487.4 MB, free: 5.055 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.432/1.432, allocations: 221.5 MB / 0.7824 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009604/0.0009602, allocations: 96.78 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.153e-05/2.164e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8851/1.149, allocations: 151.8 MB / 1.354 GB, free: 17.98 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.149, allocations: 80.08 kB / 1.354 GB, free: 17.97 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01721/1.166, allocations: 6.171 MB / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.904e-06/1.166, allocations: 0 / 1.36 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.645e-05/1.166, allocations: 11.78 kB / 1.36 GB, free: 33.31 MB / 0.8386 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.0005724/1.167, allocations: 0.4957 MB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.167, allocations: 11.69 kB / 1.361 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/1.167, allocations: 29.95 kB / 1.361 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/1.168, allocations: 255.5 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/1.168, allocations: 3.844 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.637e-05/1.168, allocations: 14.41 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001207/1.168, allocations: 46.75 kB / 1.361 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.168, allocations: 88.42 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/1.168, allocations: 0 / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.168, allocations: 3.953 kB / 1.361 GB, free: 32.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/1.168, allocations: 7.781 kB / 1.361 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/1.169, allocations: 444.4 kB / 1.362 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/1.169, allocations: 69.55 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.07e-05/1.169, allocations: 29.86 kB / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/1.169, allocations: 0 / 1.362 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001194/1.169, allocations: 97.5 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.273e-06/1.169, allocations: 4 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002205/1.169, allocations: 102.5 kB / 1.362 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/1.169, allocations: 54.59 kB / 1.362 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/1.169, allocations: 173.5 kB / 1.362 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.683e-05/1.169, allocations: 29.52 kB / 1.362 GB, free: 32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/1.17, allocations: 124.9 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/1.17, allocations: 32.73 kB / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/1.17, allocations: 0 / 1.362 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001375/1.17, allocations: 328.5 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.576e-05/1.17, allocations: 24.97 kB / 1.363 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/1.17, allocations: 118.1 kB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.952e-05/1.17, allocations: 40.66 kB / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/1.17, allocations: 0 / 1.363 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001842/1.17, allocations: 127 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/1.17, allocations: 7.906 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.17, allocations: 0 / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/1.17, allocations: 7.812 kB / 1.363 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/1.17, allocations: 26.69 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.82e-06/1.17, allocations: 3.844 kB / 1.363 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001801/1.171, allocations: 22.86 kB / 1.363 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/1.171, allocations: 3.844 kB / 1.363 GB, free: 31.41 MB / 0.8386 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 () * 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 9.962e-05/1.171, allocations: 124.2 kB / 1.363 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001286/1.171, allocations: 101.4 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/1.171, allocations: 15.5 kB / 1.363 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001826/1.171, allocations: 125.4 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/1.171, allocations: 3.422 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.171, allocations: 0 / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.171, allocations: 3.844 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/1.172, allocations: 413.2 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/1.172, allocations: 0 / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.655e-05/1.172, allocations: 15.33 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/1.172, allocations: 0 / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/1.172, allocations: 3.844 kB / 1.364 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/1.172, allocations: 3.938 kB / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/1.172, allocations: 0 / 1.364 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/1.172, allocations: 203.1 kB / 1.364 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/1.172, allocations: 98.91 kB / 1.364 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.341e-05/1.172, allocations: 3.984 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.127e-05/1.172, allocations: 15.28 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.301e-05/1.172, allocations: 18.2 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/1.172, allocations: 3.812 kB / 1.364 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.273e-05/1.172, allocations: 138.8 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.172, allocations: 3.844 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000289/1.172, allocations: 38.47 kB / 1.364 GB, free: 30.56 MB / 0.8386 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 () * 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.0007087/1.173, allocations: 0.8123 MB / 1.365 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001642/1.173, allocations: 84.2 kB / 1.365 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/1.173, allocations: 3.938 kB / 1.365 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.72e-05/1.173, allocations: 34.38 kB / 1.365 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002984/1.174, allocations: 43.66 kB / 1.365 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006127/1.174, allocations: 248.7 kB / 1.366 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/1.175, allocations: 0.7294 MB / 1.366 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.739e-05/1.175, allocations: 30.77 kB / 1.366 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/1.175, allocations: 49.94 kB / 1.366 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.7e-07/1.175, allocations: 0 / 1.366 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/1.198, allocations: 4.173 MB / 1.37 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001982/1.198, allocations: 167.1 kB / 1.371 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.69/2.889, allocations: 0 / 1.371 GB, free: 28.46 MB / 0.8386 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