Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries",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.414/2.414, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001141/0.001141, allocations: 181.1 kB / 498.1 MB, free: 5.73 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.602/1.602, allocations: 223.2 MB / 0.7948 GB, free: 18.82 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.0008689/0.0008688, allocations: 100.1 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 8.188 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3069, allocations: 142.4 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.5031, allocations: 152.8 MB / 1.372 GB, free: 472 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.5035, allocations: 83.95 kB / 1.372 GB, free: 388 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02006/0.5236, allocations: 6.81 MB / 1.379 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5236, allocations: 0 / 1.379 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.031e-05/0.5236, allocations: 4 kB / 1.379 GB, free: 9.527 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.001013/0.5247, allocations: 0.5502 MB / 1.379 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.5247, allocations: 12.03 kB / 1.379 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.111e-05/0.5248, allocations: 50.48 kB / 1.38 GB, free: 8.848 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.5249, allocations: 19.81 kB / 1.38 GB, free: 8.828 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000615/0.5255, allocations: 262.6 kB / 1.38 GB, free: 8.531 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5256, allocations: 15.98 kB / 1.38 GB, free: 8.516 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.761e-05/0.5256, allocations: 19.94 kB / 1.38 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.5259, allocations: 110.3 kB / 1.38 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.988e-06/0.5259, allocations: 0 / 1.38 GB, free: 8.383 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.5259, allocations: 4 kB / 1.38 GB, free: 8.379 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.526, allocations: 4 kB / 1.38 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.5261, allocations: 63.97 kB / 1.38 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.5272, allocations: 492.3 kB / 1.38 GB, free: 7.781 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.5276, allocations: 110.7 kB / 1.381 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.278e-05/0.5276, allocations: 3.984 kB / 1.381 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.5278, allocations: 114.1 kB / 1.381 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.5278, allocations: 0 / 1.381 GB, free: 7.539 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0003976/0.5282, allocations: 173.3 kB / 1.381 GB, free: 7.363 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.375e-05/0.5283, allocations: 51.41 kB / 1.381 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.5286, allocations: 184.2 kB / 1.381 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.5286, allocations: 33.7 kB / 1.381 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.922e-05/0.5287, allocations: 128.5 kB / 1.381 GB, free: 6.945 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.5288, allocations: 35.45 kB / 1.381 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/0.5288, allocations: 12 kB / 1.381 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.529, allocations: 334.8 kB / 1.382 GB, free: 6.562 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/0.5291, allocations: 63.95 kB / 1.382 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.5294, allocations: 121.7 kB / 1.382 GB, free: 6.355 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.5296, allocations: 139.3 kB / 1.382 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5296, allocations: 0 / 1.382 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006076/0.5302, allocations: 324.9 kB / 1.382 GB, free: 5.871 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-05/0.5303, allocations: 67.39 kB / 1.382 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.5303, allocations: 0 / 1.382 GB, free: 5.793 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5303, allocations: 8.156 kB / 1.382 GB, free: 5.785 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.5304, allocations: 19.92 kB / 1.382 GB, free: 5.766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.5305, allocations: 4 kB / 1.382 GB, free: 5.762 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.5307, allocations: 27.83 kB / 1.382 GB, free: 5.734 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.5307, allocations: 15.98 kB / 1.382 GB, free: 5.719 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.timSer1.timeConverted,timSer1.timeConverted,$PRE.timSer.timeConverted,timSer.timeConverted,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,timSer.active,$PRE.timSer.tActivateLast,timSer.tActivateLast,timSer.sampleTrigger,timSer1.active,$PRE.timSer1.tActivateLast,timSer1.tActivateLast,timSer1.sampleTrigger,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001642/0.5309, allocations: 140 kB / 1.382 GB, free: 5.574 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.5309, allocations: 15.81 kB / 1.383 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.5312, allocations: 159.3 kB / 1.383 GB, free: 5.391 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5312, allocations: 7.938 kB / 1.383 GB, free: 5.383 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.5313, allocations: 3.938 kB / 1.383 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5313, allocations: 3.938 kB / 1.383 GB, free: 5.375 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006725/0.532, allocations: 480.9 kB / 1.383 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.532, allocations: 8 kB / 1.383 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.566e-05/0.532, allocations: 11.92 kB / 1.383 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.532, allocations: 0 / 1.383 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/0.5321, allocations: 8 kB / 1.383 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.5321, allocations: 0 / 1.383 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5321, allocations: 0 / 1.383 GB, free: 4.824 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.5324, allocations: 231.2 kB / 1.383 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.5325, allocations: 104.8 kB / 1.383 GB, free: 4.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.5325, allocations: 4 kB / 1.383 GB, free: 4.457 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5326, allocations: 15.98 kB / 1.383 GB, free: 4.441 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.283e-05/0.5327, allocations: 15.97 kB / 1.384 GB, free: 4.426 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-05/0.5327, allocations: 11.94 kB / 1.384 GB, free: 4.414 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001312/0.5329, allocations: 141.5 kB / 1.384 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5329, allocations: 0 / 1.384 GB, free: 4.277 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00034/0.5332, allocations: 51.95 kB / 1.384 GB, free: 4.227 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: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009173/0.5342, allocations: 0.85 MB / 1.385 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004178/0.5346, allocations: 250.4 kB / 1.385 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5346, allocations: 0 / 1.385 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.5347, allocations: 55.91 kB / 1.385 GB, free: 3.055 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.5351, allocations: 59.97 kB / 1.385 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.5366, allocations: 1.523 MB / 1.386 GB, free: 1.391 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.5369, allocations: 0.7323 MB / 1.387 GB, free: 0.6328 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001047/0.537, allocations: 30.02 kB / 1.387 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.349e-05/0.5371, allocations: 55.41 kB / 1.387 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of SimCode: time 4.8e-07/0.5372, allocations: 0 / 1.387 GB, free: 0.5547 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02105/0.5582, allocations: 4.893 MB / 1.392 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/0.5585, allocations: 223.4 kB / 1.392 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.345, allocations: 0 / 1.392 GB, free: 11.56 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat does not exist to compare? outputFormat=mat