Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006045/0.006045, allocations: 100.2 kB / 15.73 MB, free: 6.066 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.001148/0.001148, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7105 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.89 kB / 1.018 GB, free: 9.461 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9804/0.9816, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003229/0.9849, allocations: 1.774 MB / 1.168 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.9862, allocations: 0.6273 MB / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.9863, allocations: 0 / 1.169 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.9865, allocations: 31.72 kB / 1.169 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003848/0.9869, allocations: 123.5 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004048/0.9873, allocations: 161.5 kB / 1.169 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003243/0.9877, allocations: 239.5 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001491/0.9878, allocations: 29.69 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.988, allocations: 115.7 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006096/0.9941, allocations: 1.054 MB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 5.89e-05/0.9941, allocations: 16 kB / 1.171 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.9943, allocations: 39.98 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.532e-05/0.9944, allocations: 43.89 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.9945, allocations: 91.5 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.9949, allocations: 232 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9949, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.655e-06/0.9949, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.9949, allocations: 0 / 1.171 GB, free: 15.53 MB / 0.9044 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.0008704/0.9958, allocations: 0.5602 MB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9959, allocations: 8.031 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.996, allocations: 24.8 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003642/0.9963, allocations: 253.8 kB / 1.172 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.9964, allocations: 12.38 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.9964, allocations: 20.12 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.9966, allocations: 108.2 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9966, allocations: 0 / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.9967, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.9967, allocations: 4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.9968, allocations: 55.97 kB / 1.172 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008839/0.9977, allocations: 496.3 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002837/0.998, allocations: 102.7 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.9981, allocations: 36.89 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.9981, allocations: 4 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001638/0.9983, allocations: 110.2 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.503e-06/0.9983, allocations: 0 / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003871/0.9987, allocations: 177.4 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.968e-05/0.9987, allocations: 63.39 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.9989, allocations: 199.8 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.999, allocations: 37.69 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.581e-05/0.9991, allocations: 132.5 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.9991, allocations: 39.69 kB / 1.173 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.9993, allocations: 57.89 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.9994, allocations: 334.8 kB / 1.174 GB, free: 12.51 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.9996, allocations: 71.75 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002244/0.9998, allocations: 131.7 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000293/1, allocations: 206.7 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/1, allocations: 4.031 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006071/1.001, allocations: 342.5 kB / 1.174 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/1.001, allocations: 71.33 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.001, allocations: 3.938 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/1.001, allocations: 4 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.214e-05/1.001, allocations: 19.92 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.001, allocations: 4 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/1.001, allocations: 27.88 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/1.001, allocations: 16.14 kB / 1.175 GB, free: 11.54 MB / 0.9044 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.0001448/1.001, allocations: 144.1 kB / 1.175 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/1.001, allocations: 15.91 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002572/1.002, allocations: 151.4 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/1.002, allocations: 4 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/1.002, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.002, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005914/1.002, allocations: 496.3 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.002, allocations: 0 / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/1.002, allocations: 11.98 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/1.002, allocations: 0 / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/1.002, allocations: 4 kB / 1.175 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/1.002, allocations: 7.938 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/1.002, allocations: 0 / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/1.003, allocations: 231.3 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.258e-05/1.003, allocations: 109 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/1.003, allocations: 4 kB / 1.176 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/1.003, allocations: 11.98 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.808e-05/1.003, allocations: 15.98 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/1.003, allocations: 4 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001306/1.003, allocations: 152.1 kB / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.003, allocations: 0 / 1.176 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003237/1.003, allocations: 47.89 kB / 1.176 GB, free: 10.05 MB / 0.9044 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.0003857/1.004, allocations: 190 kB / 1.176 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004261/1.004, allocations: 246.7 kB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/1.004, allocations: 0 / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/1.004, allocations: 51.92 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/1.005, allocations: 62.39 kB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/1.006, allocations: 323.3 kB / 1.177 GB, free: 9.168 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/1.006, allocations: 0.7281 MB / 1.177 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.945e-05/1.006, allocations: 29.92 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.67e-05/1.006, allocations: 23.42 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/1.006, allocations: 0 / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of Templates: time 0.007588/1.014, allocations: 3.583 MB / 1.181 GB, free: 4.816 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches