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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001267/0.001267, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0013/0.0013, allocations: 189.6 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.142/2.142, allocations: 390.3 MB / 0.6644 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 71.89 kB / 0.8122 GB, free: 14.71 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5601/0.5614, allocations: 140.4 MB / 0.9492 GB, free: 9.02 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002692/0.5642, allocations: 1.925 MB / 0.9511 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009284/0.5651, allocations: 0.67 MB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.448e-05/0.5652, allocations: 1.125 kB / 0.9518 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001802/0.5654, allocations: 23.92 kB / 0.9518 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.5657, allocations: 99.14 kB / 0.9519 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002824/0.566, allocations: 140.9 kB / 0.952 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.5662, allocations: 243.6 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.5664, allocations: 46 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001033/0.5665, allocations: 108.6 kB / 0.9524 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01249/0.579, allocations: 1.041 MB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.252e-05/0.5791, allocations: 16.53 kB / 0.9534 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.5792, allocations: 36.2 kB / 0.9535 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.5794, allocations: 50.45 kB / 0.9535 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.5795, allocations: 93.95 kB / 0.9536 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004232/0.5799, allocations: 217.5 kB / 0.9538 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.5799, allocations: 1 kB / 0.9538 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.096e-06/0.58, allocations: 0 / 0.9538 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.196e-05/0.58, allocations: 4 kB / 0.9538 GB, free: 5.891 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.0009069/0.5809, allocations: 0.5578 MB / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.5809, allocations: 8.562 kB / 0.9544 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.722e-05/0.581, allocations: 46.83 kB / 0.9544 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.5811, allocations: 25.09 kB / 0.9544 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.5814, allocations: 245.2 kB / 0.9547 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.5814, allocations: 7.344 kB / 0.9547 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.5815, allocations: 31.67 kB / 0.9547 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.5817, allocations: 110.6 kB / 0.9548 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5817, allocations: 0 / 0.9548 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.5817, allocations: 5.188 kB / 0.9548 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.5818, allocations: 2.719 kB / 0.9548 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.5819, allocations: 56.25 kB / 0.9549 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008162/0.5827, allocations: 484.9 kB / 0.9553 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.583, allocations: 113 kB / 0.9554 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.5831, allocations: 38.28 kB / 0.9555 GB, free: 4.383 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.5831, allocations: 6.688 kB / 0.9555 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001609/0.5833, allocations: 108.3 kB / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.5833, allocations: 0 / 0.9556 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0003612/0.5836, allocations: 174.8 kB / 0.9558 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5837, allocations: 58.25 kB / 0.9558 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002076/0.5839, allocations: 207.8 kB / 0.956 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.5839, allocations: 38.55 kB / 0.956 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.584, allocations: 129.8 kB / 0.9562 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.5841, allocations: 38.31 kB / 0.9562 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.5842, allocations: 59.23 kB / 0.9563 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.106e-05/0.5843, allocations: 331.3 kB / 0.9566 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.5844, allocations: 62.7 kB / 0.9566 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.5847, allocations: 131.9 kB / 0.9568 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.5849, allocations: 222.5 kB / 0.957 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.585, allocations: 1.188 kB / 0.957 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005529/0.5855, allocations: 323.9 kB / 0.9573 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/0.5856, allocations: 69.02 kB / 0.9574 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/0.5856, allocations: 2.219 kB / 0.9574 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.5856, allocations: 6.359 kB / 0.9574 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.5857, allocations: 25.41 kB / 0.9574 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.5857, allocations: 2.375 kB / 0.9574 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.5859, allocations: 30.73 kB / 0.9574 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.5859, allocations: 14.53 kB / 0.9574 GB, free: 2.777 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition3,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.5861, allocations: 143.2 kB / 0.9576 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.5861, allocations: 23.38 kB / 0.9576 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002073/0.5863, allocations: 148.3 kB / 0.9577 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.5863, allocations: 5.578 kB / 0.9577 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.5863, allocations: 0 / 0.9577 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5863, allocations: 0 / 0.9577 GB, free: 2.543 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004701/0.5868, allocations: 491.2 kB / 0.9582 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.5868, allocations: 1.375 kB / 0.9582 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.5869, allocations: 17.42 kB / 0.9582 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5869, allocations: 0 / 0.9582 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.5869, allocations: 1.375 kB / 0.9582 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.5869, allocations: 5.359 kB / 0.9582 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5869, allocations: 0 / 0.9582 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/0.5871, allocations: 242.6 kB / 0.9585 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/0.5872, allocations: 97.16 kB / 0.9586 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.5872, allocations: 9.359 kB / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.5873, allocations: 4.125 kB / 0.9586 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.5874, allocations: 20 kB / 0.9586 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.5874, allocations: 5.75 kB / 0.9586 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001051/0.5875, allocations: 146.1 kB / 0.9587 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5875, allocations: 0 / 0.9587 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003238/0.5879, allocations: 55.77 kB / 0.9588 GB, free: 1.66 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000584/0.5885, allocations: 0.8451 MB / 0.9596 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.5888, allocations: 262.3 kB / 0.9599 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.5889, allocations: 1.125 kB / 0.9599 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.605e-05/0.589, allocations: 55.86 kB / 0.9599 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.5894, allocations: 64.19 kB / 0.96 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.592, allocations: 2.288 MB / 0.9622 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.5923, allocations: 0.7274 MB / 0.9629 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.598e-05/0.5924, allocations: 30.11 kB / 0.9629 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.448e-05/0.5925, allocations: 60.22 kB / 0.963 GB, free: 14 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.5925, allocations: 0 / 0.963 GB, free: 14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02048/0.613, allocations: 5.26 MB / 0.9681 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002342/0.6133, allocations: 244.9 kB / 0.9684 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.33, allocations: 0 / 0.9684 GB, free: 11.14 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/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) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches