Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001582/0.001582, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001884/0.001884, allocations: 189.5 kB / 22.23 MB, free: 5.105 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.461/1.461, 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 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.104/3.104, allocations: 495.6 MB / 0.7831 GB, free: 33.56 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 63.92 kB / 1.137 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3557, allocations: 173.6 MB / 1.307 GB, free: 1.934 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003238/0.3589, allocations: 1.797 MB / 1.309 GB, free: 128 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001268/0.3602, allocations: 0.6431 MB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.802e-05/0.3603, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.3605, allocations: 31.67 kB / 1.309 GB, free: 15.45 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003735/0.3609, allocations: 123.4 kB / 1.309 GB, free: 15.33 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.3612, allocations: 159.7 kB / 1.31 GB, free: 15.17 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003089/0.3615, allocations: 239.5 kB / 1.31 GB, free: 14.94 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.3617, allocations: 29.73 kB / 1.31 GB, free: 14.91 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3618, allocations: 119.6 kB / 1.31 GB, free: 14.79 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008135/0.3699, allocations: 1.056 MB / 1.311 GB, free: 13.99 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.37, allocations: 23.94 kB / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3701, allocations: 39.98 kB / 1.311 GB, free: 13.93 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 8.717e-05/0.3702, allocations: 39.84 kB / 1.311 GB, free: 13.89 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001393/0.3703, allocations: 99.5 kB / 1.311 GB, free: 13.79 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.3707, allocations: 223.1 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.3707, allocations: 4 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.643e-06/0.3707, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.781e-06/0.3708, allocations: 0 / 1.311 GB, free: 13.57 MB / 1.014 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.0008377/0.3716, allocations: 488.7 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3716, allocations: 12.03 kB / 1.312 GB, free: 13.04 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.45e-05/0.3717, allocations: 24.8 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.3721, allocations: 198.1 kB / 1.312 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.3721, allocations: 12.38 kB / 1.312 GB, free: 12.79 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.001e-05/0.3721, allocations: 20.12 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002286/0.3724, allocations: 104.5 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.3724, allocations: 0 / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.3724, allocations: 7.984 kB / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3724, allocations: 0 / 1.312 GB, free: 12.65 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.3725, allocations: 63.91 kB / 1.312 GB, free: 12.59 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.3734, allocations: 463.3 kB / 1.313 GB, free: 12.09 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.3737, allocations: 102.7 kB / 1.313 GB, free: 11.98 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.3738, allocations: 32.84 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.3738, allocations: 4 kB / 1.313 GB, free: 11.95 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001826/0.374, allocations: 107.3 kB / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=16): time 1.714e-06/0.374, allocations: 3.938 kB / 1.313 GB, free: 11.82 MB / 1.014 GB
Notification: Performance of matching and sorting (n=16): time 0.0003972/0.3744, allocations: 177.4 kB / 1.313 GB, free: 11.64 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.592e-05/0.3744, allocations: 55.41 kB / 1.313 GB, free: 11.58 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002249/0.3747, allocations: 203.8 kB / 1.313 GB, free: 11.37 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.3747, allocations: 37.7 kB / 1.313 GB, free: 11.32 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.3748, allocations: 128.5 kB / 1.314 GB, free: 11.2 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.3749, allocations: 39.67 kB / 1.314 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.375, allocations: 65.67 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001501/0.3751, allocations: 326.8 kB / 1.314 GB, free: 10.76 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/0.3753, allocations: 67.94 kB / 1.314 GB, free: 10.69 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.3755, allocations: 131.6 kB / 1.314 GB, free: 10.54 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003144/0.3759, allocations: 201.3 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3759, allocations: 4 kB / 1.314 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006356/0.3765, allocations: 332.6 kB / 1.315 GB, free: 9.957 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 6.737e-05/0.3766, allocations: 75.33 kB / 1.315 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3766, allocations: 3.938 kB / 1.315 GB, free: 9.867 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3766, allocations: 4 kB / 1.315 GB, free: 9.863 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.3767, allocations: 15.98 kB / 1.315 GB, free: 9.848 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.3767, allocations: 7.938 kB / 1.315 GB, free: 9.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.3769, allocations: 32.05 kB / 1.315 GB, free: 9.809 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3769, allocations: 15.97 kB / 1.315 GB, free: 9.793 MB / 1.014 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.000143/0.3771, allocations: 139.8 kB / 1.315 GB, free: 9.645 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.3771, allocations: 15.91 kB / 1.315 GB, free: 9.629 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.3774, allocations: 155.2 kB / 1.315 GB, free: 9.465 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.3774, allocations: 4 kB / 1.315 GB, free: 9.461 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.3774, allocations: 0 / 1.315 GB, free: 9.461 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3774, allocations: 3.984 kB / 1.315 GB, free: 9.457 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.378, allocations: 463.7 kB / 1.316 GB, free: 8.957 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.378, allocations: 0 / 1.316 GB, free: 8.957 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.3781, allocations: 8 kB / 1.316 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3781, allocations: 0 / 1.316 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.3781, allocations: 4 kB / 1.316 GB, free: 8.945 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.3781, allocations: 7.922 kB / 1.316 GB, free: 8.938 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.3781, allocations: 4 kB / 1.316 GB, free: 8.934 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.3784, allocations: 239.2 kB / 1.316 GB, free: 8.684 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.3784, allocations: 31.84 kB / 1.316 GB, free: 8.652 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/0.3784, allocations: 4 kB / 1.316 GB, free: 8.648 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.3786, allocations: 11.98 kB / 1.316 GB, free: 8.637 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.122e-05/0.3786, allocations: 19.97 kB / 1.316 GB, free: 8.617 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.3786, allocations: 4 kB / 1.316 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0001408/0.3788, allocations: 149.5 kB / 1.316 GB, free: 8.469 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.3788, allocations: 0 / 1.316 GB, free: 8.469 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003174/0.3791, allocations: 47.92 kB / 1.316 GB, free: 8.422 MB / 1.014 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.0003911/0.3795, allocations: 182.9 kB / 1.316 GB, free: 8.262 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004268/0.3799, allocations: 238.6 kB / 1.316 GB, free: 8.004 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3799, allocations: 4 kB / 1.316 GB, free: 8 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.38, allocations: 51.89 kB / 1.317 GB, free: 7.949 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.3804, allocations: 58.14 kB / 1.317 GB, free: 7.898 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006661/0.3811, allocations: 327.4 kB / 1.317 GB, free: 7.555 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3815, allocations: 0.7203 MB / 1.318 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 9.167e-05/0.3816, allocations: 33.88 kB / 1.318 GB, free: 6.773 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.971e-05/0.3816, allocations: 27.42 kB / 1.318 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.3816, allocations: 0 / 1.318 GB, free: 6.746 MB / 1.014 GB
Notification: Performance of Templates: time 0.008088/0.3897, allocations: 3.658 MB / 1.321 GB, free: 3.129 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.810014262795448]