Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.Scatter,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.443/2.443, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001164/0.001164, allocations: 183.6 kB / 0.4901 GB, free: 2.242 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.564/1.564, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.0009163/0.0009162, allocations: 96.2 kB / 0.9396 GB, free: 1.918 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 12.22 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3383, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2088/0.5472, allocations: 153.4 MB / 1.379 GB, free: 120 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002673/0.5475, allocations: 79.97 kB / 1.379 GB, free: 40 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01909/0.5667, allocations: 6.218 MB / 1.385 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5667, allocations: 4 kB / 1.385 GB, free: 9.777 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.371e-05/0.5667, allocations: 7.938 kB / 1.385 GB, free: 9.77 MB / 0.8855 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.0008487/0.5676, allocations: 0.5266 MB / 1.386 GB, free: 9.18 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.566e-05/0.5677, allocations: 12.56 kB / 1.386 GB, free: 9.168 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.417e-05/0.5677, allocations: 46.55 kB / 1.386 GB, free: 9.113 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.904e-05/0.5678, allocations: 15.81 kB / 1.386 GB, free: 9.098 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005369/0.5684, allocations: 259.4 kB / 1.386 GB, free: 8.805 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.5684, allocations: 16.19 kB / 1.386 GB, free: 8.789 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.5685, allocations: 12 kB / 1.386 GB, free: 8.777 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.5687, allocations: 97.39 kB / 1.386 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5687, allocations: 3.938 kB / 1.386 GB, free: 8.676 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5687, allocations: 7.953 kB / 1.386 GB, free: 8.668 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.5687, allocations: 4 kB / 1.386 GB, free: 8.664 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.5689, allocations: 56.47 kB / 1.386 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000909/0.5698, allocations: 477.6 kB / 1.387 GB, free: 8.094 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.57, allocations: 78.48 kB / 1.387 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.57, allocations: 0 / 1.387 GB, free: 8.008 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001623/0.5702, allocations: 91.36 kB / 1.387 GB, free: 7.906 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.734e-06/0.5702, allocations: 4 kB / 1.387 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.0003335/0.5705, allocations: 148.7 kB / 1.387 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.5706, allocations: 59.41 kB / 1.387 GB, free: 7.684 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.5708, allocations: 177 kB / 1.387 GB, free: 7.504 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.5708, allocations: 37.69 kB / 1.387 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.5709, allocations: 116.5 kB / 1.387 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.571, allocations: 31.55 kB / 1.387 GB, free: 7.312 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.571, allocations: 4 kB / 1.387 GB, free: 7.309 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5711, allocations: 334.8 kB / 1.388 GB, free: 6.973 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.5712, allocations: 31.98 kB / 1.388 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002168/0.5714, allocations: 118.1 kB / 1.388 GB, free: 6.797 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.26e-05/0.5715, allocations: 43.92 kB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5715, allocations: 3.938 kB / 1.388 GB, free: 6.75 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002653/0.5718, allocations: 145.4 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.5718, allocations: 4 kB / 1.388 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5718, allocations: 4 kB / 1.388 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.5719, allocations: 0 / 1.388 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.987e-05/0.572, allocations: 19.92 kB / 1.388 GB, free: 6.574 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.572, allocations: 7.984 kB / 1.388 GB, free: 6.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.5722, allocations: 32 kB / 1.388 GB, free: 6.535 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.5722, allocations: 4 kB / 1.388 GB, free: 6.531 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.0001427/0.5724, allocations: 138.5 kB / 1.388 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.5724, allocations: 20.02 kB / 1.388 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002413/0.5727, allocations: 127.1 kB / 1.388 GB, free: 6.238 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.5727, allocations: 7.938 kB / 1.388 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5727, allocations: 0 / 1.388 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5727, allocations: 4 kB / 1.388 GB, free: 6.227 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005881/0.5733, allocations: 469.2 kB / 1.389 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5733, allocations: 0 / 1.389 GB, free: 5.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.825e-05/0.5733, allocations: 8 kB / 1.389 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.5734, allocations: 3.984 kB / 1.389 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.5734, allocations: 0 / 1.389 GB, free: 5.703 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5734, allocations: 7.953 kB / 1.389 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.5734, allocations: 4 kB / 1.389 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.5736, allocations: 211.3 kB / 1.389 GB, free: 5.469 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.5737, allocations: 92.91 kB / 1.389 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.5737, allocations: 0 / 1.389 GB, free: 5.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.5738, allocations: 19.98 kB / 1.389 GB, free: 5.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.5739, allocations: 19.94 kB / 1.389 GB, free: 5.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.574, allocations: 11.98 kB / 1.389 GB, free: 5.309 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001194/0.5741, allocations: 136.4 kB / 1.389 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5741, allocations: 0 / 1.389 GB, free: 5.176 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003256/0.5744, allocations: 43.94 kB / 1.389 GB, free: 5.133 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.0007924/0.5752, allocations: 0.814 MB / 1.39 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00023/0.5755, allocations: 97.03 kB / 1.39 GB, free: 4.215 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5755, allocations: 3.938 kB / 1.39 GB, free: 4.211 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.692e-05/0.5756, allocations: 43.92 kB / 1.39 GB, free: 4.168 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.5759, allocations: 44.52 kB / 1.39 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.5773, allocations: 1.341 MB / 1.392 GB, free: 2.711 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.5777, allocations: 0.7205 MB / 1.392 GB, free: 1.965 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001008/0.5778, allocations: 25.47 kB / 1.392 GB, free: 1.941 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.542e-05/0.5779, allocations: 47.42 kB / 1.392 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of SimCode: time 4.51e-07/0.5779, allocations: 0 / 1.392 GB, free: 1.895 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.5967, allocations: 4.536 MB / 1.397 GB, free: 13.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.5969, allocations: 226.5 kB / 1.397 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.785/2.382, allocations: 4.062 kB / 1.397 GB, free: 13.25 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_Scatter.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Examples.Scatter_res.mat does not exist to compare? outputFormat=mat