Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001315/0.001315, allocations: 110 kB / 18.93 MB, free: 2.945 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.001509/0.001509, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.457/1.457, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.893/2.893, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 71.89 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7879/0.79, allocations: 168.8 MB / 1.274 GB, free: 4.199 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003481/0.7935, allocations: 1.803 MB / 1.276 GB, free: 2.383 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001264/0.7947, allocations: 0.6368 MB / 1.277 GB, free: 1.746 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.066e-05/0.7948, allocations: 3.938 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002013/0.795, allocations: 27.73 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.00038/0.7954, allocations: 127.4 kB / 1.277 GB, free: 1.59 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.7958, allocations: 161.1 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0003158/0.7961, allocations: 243.4 kB / 1.277 GB, free: 1.195 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.7962, allocations: 29.8 kB / 1.277 GB, free: 1.168 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/0.7964, allocations: 111.7 kB / 1.277 GB, free: 1.059 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008383/0.8047, allocations: 1.053 MB / 1.278 GB, free: 272 kB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.8048, allocations: 20 kB / 1.278 GB, free: 252 kB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.8049, allocations: 36 kB / 1.278 GB, free: 216 kB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 8.525e-05/0.805, allocations: 43.83 kB / 1.278 GB, free: 172 kB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.8052, allocations: 103.4 kB / 1.279 GB, free: 68 kB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004077/0.8056, allocations: 222.9 kB / 1.279 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8056, allocations: 0 / 1.279 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.623e-06/0.8056, allocations: 0 / 1.279 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 6.101e-06/0.8056, allocations: 0 / 1.279 GB, free: 15.85 MB / 0.9825 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.0008532/0.8064, allocations: 492.6 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.8065, allocations: 16.02 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.562e-05/0.8066, allocations: 28.8 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.8069, allocations: 186.3 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.8069, allocations: 16.36 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.297e-05/0.807, allocations: 20.12 kB / 1.28 GB, free: 15.04 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002245/0.8072, allocations: 101.6 kB / 1.28 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.8072, allocations: 0 / 1.28 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.8072, allocations: 4 kB / 1.28 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.8072, allocations: 7.938 kB / 1.28 GB, free: 14.92 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.8074, allocations: 59.83 kB / 1.28 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009491/0.8083, allocations: 459.4 kB / 1.28 GB, free: 14.37 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.8086, allocations: 98.64 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.861e-05/0.8087, allocations: 40.89 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.8087, allocations: 3.984 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.8089, allocations: 103.3 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=16): time 1.473e-06/0.8089, allocations: 0 / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=16): time 0.0003854/0.8093, allocations: 180.7 kB / 1.281 GB, free: 13.93 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.8093, allocations: 59.39 kB / 1.281 GB, free: 13.86 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.8095, allocations: 207.8 kB / 1.281 GB, free: 13.64 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.8096, allocations: 37.7 kB / 1.281 GB, free: 13.59 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.8097, allocations: 128.4 kB / 1.281 GB, free: 13.46 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 4.105e-05/0.8097, allocations: 39.69 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.8098, allocations: 61.67 kB / 1.281 GB, free: 13.36 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001472/0.81, allocations: 326.8 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001794/0.8102, allocations: 63.95 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/0.8104, allocations: 134.5 kB / 1.282 GB, free: 12.81 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.8108, allocations: 217.1 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.8108, allocations: 0 / 1.282 GB, free: 12.57 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006548/0.8114, allocations: 328.7 kB / 1.282 GB, free: 12.23 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/0.8115, allocations: 71.38 kB / 1.282 GB, free: 12.15 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.8115, allocations: 3.938 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.8115, allocations: 4 kB / 1.282 GB, free: 12.14 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.8116, allocations: 19.94 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.8116, allocations: 4 kB / 1.282 GB, free: 12.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.8118, allocations: 28.03 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/0.8119, allocations: 15.98 kB / 1.282 GB, free: 12.07 MB / 0.9825 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.000153/0.812, allocations: 146 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.812, allocations: 15.91 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002707/0.8123, allocations: 151.3 kB / 1.282 GB, free: 11.75 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.8123, allocations: 4 kB / 1.283 GB, free: 11.75 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.8123, allocations: 7.875 kB / 1.283 GB, free: 11.74 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.8123, allocations: 0 / 1.283 GB, free: 11.74 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006708/0.813, allocations: 465.3 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.813, allocations: 0 / 1.283 GB, free: 11.24 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.813, allocations: 11.94 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.813, allocations: 0 / 1.283 GB, free: 11.23 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.8131, allocations: 0 / 1.283 GB, free: 11.23 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8131, allocations: 3.984 kB / 1.283 GB, free: 11.22 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.8131, allocations: 0 / 1.283 GB, free: 11.22 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.8133, allocations: 250 kB / 1.283 GB, free: 10.96 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.8134, allocations: 23.89 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.8134, allocations: 8 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.8136, allocations: 7.984 kB / 1.283 GB, free: 10.93 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.8136, allocations: 15.97 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/0.8136, allocations: 8 kB / 1.283 GB, free: 10.9 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0001487/0.8138, allocations: 148.2 kB / 1.283 GB, free: 10.76 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/0.8138, allocations: 0 / 1.283 GB, free: 10.76 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003368/0.8141, allocations: 55.88 kB / 1.283 GB, free: 10.7 MB / 0.9825 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.0004073/0.8145, allocations: 159 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.000467/0.815, allocations: 246.6 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.815, allocations: 4 kB / 1.284 GB, free: 10.29 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 9.384e-05/0.8151, allocations: 47.22 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.8156, allocations: 55.25 kB / 1.284 GB, free: 10.2 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007314/0.8163, allocations: 339.3 kB / 1.284 GB, free: 9.84 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.8167, allocations: 0.7203 MB / 1.285 GB, free: 9.094 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 9.961e-05/0.8168, allocations: 38 kB / 1.285 GB, free: 9.055 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.8168, allocations: 19.44 kB / 1.285 GB, free: 9.035 MB / 0.9825 GB
Notification: Performance of SimCode: time 4.3e-07/0.8168, allocations: 0 / 1.285 GB, free: 9.035 MB / 0.9825 GB
Notification: Performance of Templates: time 0.008898/0.8257, allocations: 3.654 MB / 1.289 GB, free: 5.414 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.915568863973022]