Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.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.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",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.404/2.404, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.00138/0.00138, allocations: 171.5 kB / 0.4901 GB, free: 2.273 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.598/1.598, allocations: 223.1 MB / 0.7992 GB, free: 14.76 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.0009633/0.0009632, allocations: 104.2 kB / 0.9396 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004064, allocations: 10.19 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3206/0.3211, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.5239, allocations: 153.7 MB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5242, allocations: 75.97 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01936/0.5435, allocations: 6.811 MB / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.645e-06/0.5436, allocations: 0 / 1.386 GB, free: 8.957 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.5436, allocations: 8 kB / 1.386 GB, free: 8.949 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.0009124/0.5445, allocations: 0.5507 MB / 1.387 GB, free: 8.332 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5446, allocations: 12.03 kB / 1.387 GB, free: 8.32 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.836e-05/0.5447, allocations: 42.5 kB / 1.387 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.335e-05/0.5447, allocations: 27.7 kB / 1.387 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/0.5453, allocations: 266.4 kB / 1.387 GB, free: 7.941 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.5453, allocations: 16 kB / 1.387 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.5454, allocations: 16 kB / 1.387 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.5456, allocations: 110.7 kB / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.5456, allocations: 0 / 1.387 GB, free: 7.797 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.5457, allocations: 7.984 kB / 1.387 GB, free: 7.789 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5457, allocations: 4 kB / 1.387 GB, free: 7.785 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000134/0.5458, allocations: 55.97 kB / 1.387 GB, free: 7.73 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009179/0.5467, allocations: 492.3 kB / 1.388 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.547, allocations: 114.6 kB / 1.388 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.902e-05/0.5471, allocations: 4 kB / 1.388 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.5472, allocations: 99.34 kB / 1.388 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.5473, allocations: 0 / 1.388 GB, free: 6.965 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0003642/0.5476, allocations: 173.3 kB / 1.388 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.5477, allocations: 59.41 kB / 1.388 GB, free: 6.719 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.5479, allocations: 179.6 kB / 1.388 GB, free: 6.531 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.5479, allocations: 37.69 kB / 1.388 GB, free: 6.488 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.143e-05/0.548, allocations: 124.4 kB / 1.388 GB, free: 6.363 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.692e-05/0.5481, allocations: 39.5 kB / 1.388 GB, free: 6.324 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.759e-05/0.5481, allocations: 8 kB / 1.388 GB, free: 6.316 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5482, allocations: 330.8 kB / 1.389 GB, free: 5.984 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001592/0.5484, allocations: 59.95 kB / 1.389 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.5486, allocations: 134.4 kB / 1.389 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002224/0.5489, allocations: 131.3 kB / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.5489, allocations: 8.031 kB / 1.389 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005841/0.5495, allocations: 331.7 kB / 1.389 GB, free: 5.281 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.909e-05/0.5495, allocations: 63.39 kB / 1.389 GB, free: 5.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.5495, allocations: 4 kB / 1.389 GB, free: 5.203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5496, allocations: 4 kB / 1.389 GB, free: 5.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5497, allocations: 19.92 kB / 1.389 GB, free: 5.18 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5497, allocations: 7.938 kB / 1.389 GB, free: 5.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001989/0.5499, allocations: 28 kB / 1.389 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.5499, allocations: 15.98 kB / 1.389 GB, free: 5.129 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.0001415/0.5501, allocations: 144.5 kB / 1.39 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.778e-05/0.5501, allocations: 15.81 kB / 1.39 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002652/0.5504, allocations: 154.2 kB / 1.39 GB, free: 4.801 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5504, allocations: 8 kB / 1.39 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.5504, allocations: 0 / 1.39 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5504, allocations: 3.984 kB / 1.39 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.5511, allocations: 486.2 kB / 1.39 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5511, allocations: 0 / 1.39 GB, free: 4.258 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.203e-05/0.5511, allocations: 15.94 kB / 1.39 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5512, allocations: 0 / 1.39 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5512, allocations: 0 / 1.39 GB, free: 4.242 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5512, allocations: 7.984 kB / 1.39 GB, free: 4.234 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5512, allocations: 4 kB / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.5515, allocations: 235.2 kB / 1.391 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.25e-05/0.5515, allocations: 92.83 kB / 1.391 GB, free: 3.875 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.5516, allocations: 7.984 kB / 1.391 GB, free: 3.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5517, allocations: 12 kB / 1.391 GB, free: 3.855 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.5518, allocations: 15.91 kB / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-05/0.5518, allocations: 16 kB / 1.391 GB, free: 3.824 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001253/0.5519, allocations: 149.4 kB / 1.391 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5519, allocations: 0 / 1.391 GB, free: 3.68 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003331/0.5523, allocations: 59.89 kB / 1.391 GB, free: 3.621 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.0008256/0.5531, allocations: 0.8289 MB / 1.392 GB, free: 2.789 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004005/0.5535, allocations: 254.5 kB / 1.392 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5535, allocations: 0 / 1.392 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.5536, allocations: 51.92 kB / 1.392 GB, free: 2.465 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003419/0.554, allocations: 56.53 kB / 1.392 GB, free: 2.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.5554, allocations: 1.529 MB / 1.393 GB, free: 0.8008 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.5558, allocations: 0.7284 MB / 1.394 GB, free: 48 kB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.945e-05/0.5559, allocations: 29.92 kB / 1.394 GB, free: 20 kB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.556, allocations: 55.42 kB / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of SimCode: time 2.31e-07/0.556, allocations: 0 / 1.394 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.5747, allocations: 4.931 MB / 1.399 GB, free: 11.2 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.575, allocations: 221.6 kB / 1.399 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.378, allocations: 0 / 1.399 GB, free: 10.96 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat does not exist to compare? outputFormat=mat