Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 104.6 kB / 18.84 MB, free: 3.023 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 191.5 kB / 22.1 MB, free: 4.223 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 495.8 MB / 0.783 GB, free: 12.28 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries")
translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002964/0.002964, allocations: 67.89 kB / 1.137 GB, free: 12.26 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.17, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002815/1.173, allocations: 1.795 MB / 1.308 GB, free: 32.55 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00101/1.174, allocations: 0.6329 MB / 1.309 GB, free: 32.13 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.927e-05/1.174, allocations: 6.938 kB / 1.309 GB, free: 32.13 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001973/1.174, allocations: 30.39 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003399/1.174, allocations: 125.7 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003194/1.175, allocations: 164 kB / 1.309 GB, free: 31.96 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002572/1.175, allocations: 242.6 kB / 1.31 GB, free: 31.86 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/1.175, allocations: 28.75 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/1.175, allocations: 109 kB / 1.31 GB, free: 31.8 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007796/1.183, allocations: 1.07 MB / 1.311 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 6.585e-05/1.183, allocations: 18.19 kB / 1.311 GB, free: 31.48 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/1.183, allocations: 37.3 kB / 1.311 GB, free: 31.47 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 8.564e-05/1.183, allocations: 49.5 kB / 1.311 GB, free: 31.44 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001312/1.183, allocations: 85.59 kB / 1.311 GB, free: 31.39 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003384/1.184, allocations: 223.7 kB / 1.311 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/1.184, allocations: 0 / 1.311 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.743e-06/1.184, allocations: 0 / 1.311 GB, free: 31.3 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 5.921e-06/1.184, allocations: 4 kB / 1.311 GB, free: 31.29 MB / 1.061 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.0006977/1.184, allocations: 499.3 kB / 1.312 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.184, allocations: 8.594 kB / 1.312 GB, free: 30.88 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/1.185, allocations: 24.77 kB / 1.312 GB, free: 30.86 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/1.185, allocations: 185.6 kB / 1.312 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.185, allocations: 10.84 kB / 1.312 GB, free: 30.7 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.056e-05/1.185, allocations: 29.03 kB / 1.312 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/1.185, allocations: 104.6 kB / 1.312 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.185, allocations: 0 / 1.312 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/1.185, allocations: 6.531 kB / 1.312 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/1.185, allocations: 2.562 kB / 1.312 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/1.185, allocations: 53.88 kB / 1.312 GB, free: 30.61 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000806/1.186, allocations: 464 kB / 1.313 GB, free: 30.29 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/1.186, allocations: 100.7 kB / 1.313 GB, free: 30.24 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/1.186, allocations: 37.22 kB / 1.313 GB, free: 30.22 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/1.186, allocations: 3.188 kB / 1.313 GB, free: 30.22 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001372/1.187, allocations: 108.5 kB / 1.313 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=16): time 1.502e-06/1.187, allocations: 0 / 1.313 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of matching and sorting (n=16): time 0.00033/1.187, allocations: 183.3 kB / 1.313 GB, free: 30.06 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/1.187, allocations: 54.28 kB / 1.313 GB, free: 30 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/1.187, allocations: 212.5 kB / 1.313 GB, free: 29.86 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.822e-05/1.187, allocations: 28.8 kB / 1.313 GB, free: 29.82 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 7.56e-05/1.187, allocations: 130.7 kB / 1.313 GB, free: 29.71 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/1.187, allocations: 48.77 kB / 1.313 GB, free: 29.67 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/1.187, allocations: 61.5 kB / 1.313 GB, free: 29.64 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.23e-05/1.187, allocations: 328.3 kB / 1.314 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.187, allocations: 70.02 kB / 1.314 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/1.188, allocations: 120.9 kB / 1.314 GB, free: 29.21 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/1.188, allocations: 222.5 kB / 1.314 GB, free: 29.04 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.188, allocations: 0 / 1.314 GB, free: 29.04 MB / 1.061 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005347/1.188, allocations: 334.8 kB / 1.314 GB, free: 28.87 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/1.189, allocations: 66.38 kB / 1.315 GB, free: 28.81 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/1.189, allocations: 3.938 kB / 1.315 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/1.189, allocations: 2.875 kB / 1.315 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/1.189, allocations: 22.23 kB / 1.315 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.189, allocations: 2.938 kB / 1.315 GB, free: 28.8 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/1.189, allocations: 24.22 kB / 1.315 GB, free: 28.79 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/1.189, allocations: 18.06 kB / 1.315 GB, free: 28.79 MB / 1.061 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.0001195/1.189, allocations: 141.9 kB / 1.315 GB, free: 28.66 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.092e-05/1.189, allocations: 16.62 kB / 1.315 GB, free: 28.65 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/1.189, allocations: 153.9 kB / 1.315 GB, free: 28.56 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/1.189, allocations: 2.094 kB / 1.315 GB, free: 28.56 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/1.189, allocations: 0 / 1.315 GB, free: 28.56 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/1.189, allocations: 0 / 1.315 GB, free: 28.56 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/1.19, allocations: 466.5 kB / 1.315 GB, free: 28.22 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.19, allocations: 0 / 1.315 GB, free: 28.22 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.093e-05/1.19, allocations: 16.55 kB / 1.315 GB, free: 28.21 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.19, allocations: 0 / 1.315 GB, free: 28.21 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/1.19, allocations: 2.844 kB / 1.315 GB, free: 28.21 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.19, allocations: 0 / 1.315 GB, free: 28.21 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.19, allocations: 0 / 1.315 GB, free: 28.21 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002032/1.19, allocations: 242.9 kB / 1.316 GB, free: 28.04 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.128e-05/1.19, allocations: 27.83 kB / 1.316 GB, free: 28.02 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/1.19, allocations: 6.391 kB / 1.316 GB, free: 28.02 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/1.19, allocations: 14.12 kB / 1.316 GB, free: 28.02 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/1.19, allocations: 16.48 kB / 1.316 GB, free: 28.01 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.39e-05/1.19, allocations: 12.69 kB / 1.316 GB, free: 28.01 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 9.663e-05/1.19, allocations: 145.6 kB / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of sort global known variables: time 7e-08/1.19, allocations: 0 / 1.316 GB, free: 27.91 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003106/1.191, allocations: 52.92 kB / 1.316 GB, free: 27.9 MB / 1.061 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.000374/1.191, allocations: 174.6 kB / 1.316 GB, free: 27.78 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0003572/1.191, allocations: 239.9 kB / 1.316 GB, free: 27.62 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.191, allocations: 0 / 1.316 GB, free: 27.62 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 7.759e-05/1.192, allocations: 51.3 kB / 1.316 GB, free: 27.61 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004222/1.192, allocations: 66.61 kB / 1.316 GB, free: 27.59 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/1.193, allocations: 319.2 kB / 1.317 GB, free: 27.38 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/1.193, allocations: 0.7367 MB / 1.317 GB, free: 26.67 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 7.459e-05/1.193, allocations: 28.78 kB / 1.317 GB, free: 26.66 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.335e-05/1.193, allocations: 23.92 kB / 1.317 GB, free: 26.66 MB / 1.061 GB
Notification: Performance of SimCode: time 4.41e-07/1.193, allocations: 0 / 1.317 GB, free: 26.66 MB / 1.061 GB
Notification: Performance of Templates: time 0.007739/1.201, allocations: 3.656 MB / 1.321 GB, free: 26.31 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 9.575573666021228]