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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001133, allocations: 86.88 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.497/1.497, allocations: 223.2 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.469/2.469, allocations: 390.4 MB / 0.6655 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8618/0.8622, allocations: 142.3 MB / 0.9538 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.001965/0.8642, allocations: 1.524 MB / 0.9553 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009728/0.8652, allocations: 0.6406 MB / 0.956 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.655e-05/0.8653, allocations: 1.469 kB / 0.956 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001888/0.8655, allocations: 27.69 kB / 0.956 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002683/0.8657, allocations: 97.67 kB / 0.9561 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.8661, allocations: 149 kB / 0.9562 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002463/0.8663, allocations: 203.8 kB / 0.9564 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.8665, allocations: 34.61 kB / 0.9565 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.8666, allocations: 92.77 kB / 0.9565 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003982/0.8706, allocations: 2.494 MB / 0.959 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.938e-05/0.8706, allocations: 12.38 kB / 0.959 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.981e-05/0.8707, allocations: 26.12 kB / 0.959 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.8708, allocations: 32.81 kB / 0.959 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.205e-05/0.8709, allocations: 54.88 kB / 0.9591 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.8711, allocations: 146 kB / 0.9592 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.8711, allocations: 3.938 kB / 0.9592 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8711, allocations: 0 / 0.9592 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.8711, allocations: 4.969 kB / 0.9592 GB, free: 4.836 MB / 0.7169 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.0006656/0.8718, allocations: 0.5209 MB / 0.9598 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.8718, allocations: 9.312 kB / 0.9598 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.906e-05/0.8719, allocations: 42.14 kB / 0.9598 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.973e-05/0.8719, allocations: 19.94 kB / 0.9598 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.8722, allocations: 241 kB / 0.96 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.8722, allocations: 15.33 kB / 0.9601 GB, free: 4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.602e-05/0.8723, allocations: 15.31 kB / 0.9601 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.8725, allocations: 115 kB / 0.9602 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.8725, allocations: 0 / 0.9602 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.8725, allocations: 5.312 kB / 0.9602 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.8725, allocations: 2.531 kB / 0.9602 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.8727, allocations: 59.05 kB / 0.9603 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007891/0.8734, allocations: 0.4883 MB / 0.9607 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002659/0.8737, allocations: 116 kB / 0.9608 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.8738, allocations: 33.62 kB / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.8738, allocations: 2.656 kB / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/0.874, allocations: 106 kB / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.564e-06/0.874, allocations: 0 / 0.961 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003332/0.8743, allocations: 178.7 kB / 0.9611 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.637e-05/0.8744, allocations: 58.72 kB / 0.9612 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.8746, allocations: 210.1 kB / 0.9614 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.8746, allocations: 30.3 kB / 0.9614 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.051e-05/0.8747, allocations: 130.1 kB / 0.9616 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.8748, allocations: 33.78 kB / 0.9616 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.001e-05/0.8748, allocations: 7.156 kB / 0.9616 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.8749, allocations: 331.4 kB / 0.9619 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.875, allocations: 62.95 kB / 0.962 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.8752, allocations: 136.1 kB / 0.9621 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.8754, allocations: 125.3 kB / 0.9622 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.8754, allocations: 5.438 kB / 0.9622 GB, free: 2.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005045/0.8759, allocations: 329.9 kB / 0.9625 GB, free: 1.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.8759, allocations: 72.44 kB / 0.9626 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.876, allocations: 2.156 kB / 0.9626 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.876, allocations: 2.719 kB / 0.9626 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.8761, allocations: 25.78 kB / 0.9626 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.8761, allocations: 6.453 kB / 0.9626 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.8763, allocations: 33.16 kB / 0.9627 GB, free: 1.867 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.8763, allocations: 17.14 kB / 0.9627 GB, free: 1.859 MB / 0.7169 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.0001197/0.8764, allocations: 143.5 kB / 0.9628 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.8765, allocations: 15.97 kB / 0.9628 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.8767, allocations: 148 kB / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.8767, allocations: 1.188 kB / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8767, allocations: 1.406 kB / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.8767, allocations: 0 / 0.963 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005317/0.8773, allocations: 0.4923 MB / 0.9635 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8773, allocations: 0 / 0.9635 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.8773, allocations: 5.562 kB / 0.9635 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.8773, allocations: 1.031 kB / 0.9635 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.8774, allocations: 2.188 kB / 0.9635 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.8774, allocations: 7.938 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8774, allocations: 4.969 kB / 0.9635 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.8776, allocations: 243.3 kB / 0.9637 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.8777, allocations: 103.6 kB / 0.9638 GB, free: 0.8867 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/0.8777, allocations: 3.984 kB / 0.9638 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.8778, allocations: 15.19 kB / 0.9638 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.923e-05/0.8779, allocations: 19.2 kB / 0.9639 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.8779, allocations: 14.97 kB / 0.9639 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001142/0.878, allocations: 142.7 kB / 0.964 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.878, allocations: 0 / 0.964 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003226/0.8783, allocations: 48.28 kB / 0.9641 GB, free: 0.7383 MB / 0.7169 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.0006978/0.879, allocations: 0.8259 MB / 0.9649 GB, free: 4 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004231/0.8795, allocations: 253.4 kB / 0.9651 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8795, allocations: 0 / 0.9651 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.634e-05/0.8796, allocations: 55.69 kB / 0.9652 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.88, allocations: 68.5 kB / 0.9652 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.882, allocations: 1.104 MB / 0.9663 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003108/0.8823, allocations: 0.7318 MB / 0.967 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.322e-05/0.8824, allocations: 29.73 kB / 0.967 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.527e-05/0.8825, allocations: 60 kB / 0.9671 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.8825, allocations: 1 kB / 0.9671 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.8993, allocations: 5.011 MB / 0.972 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/0.8995, allocations: 230.5 kB / 0.9722 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.781, allocations: 0 / 0.9722 GB, free: 11.52 MB / 0.7325 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