Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.001333/0.001333, 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.00141/0.00141, allocations: 191.7 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.381/1.381, allocations: 225.6 MB / 251 MB, free: 13.02 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.061/3.061, allocations: 495.7 MB / 0.7831 GB, free: 33.42 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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff")
translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conSysSta.TRoo|conSysSta.TRooSet|conSysSta.TOut|conSysSta.TOutLow|conSysSta.onSys",fileNamePrefix="Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 63.77 kB / 1.137 GB, free: 33.94 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3014/0.3034, allocations: 173.6 MB / 1.307 GB, free: 1.945 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002182/0.3056, allocations: 0.9327 MB / 1.308 GB, free: 1.016 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001108/0.3067, allocations: 0.9052 MB / 1.309 GB, free: 100 kB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.3067, allocations: 0 / 1.309 GB, free: 100 kB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 4.04e-05/0.3068, allocations: 11.88 kB / 1.309 GB, free: 88 kB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 9.325e-05/0.3069, allocations: 11.81 kB / 1.309 GB, free: 76 kB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001877/0.3071, allocations: 51.88 kB / 1.309 GB, free: 24 kB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.0001673/0.3072, allocations: 119.7 kB / 1.309 GB, free: 15.91 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3074, allocations: 37.72 kB / 1.309 GB, free: 15.86 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001262/0.3075, allocations: 59.83 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.3076, allocations: 63.64 kB / 1.309 GB, free: 15.74 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.3076, allocations: 16 kB / 1.309 GB, free: 15.72 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.3077, allocations: 12 kB / 1.309 GB, free: 15.71 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 3.761e-05/0.3077, allocations: 27.86 kB / 1.309 GB, free: 15.68 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.947e-05/0.3078, allocations: 59.66 kB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.308, allocations: 151.4 kB / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.308, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.313e-06/0.308, allocations: 0 / 1.309 GB, free: 15.48 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.3e-06/0.308, allocations: 4 kB / 1.309 GB, free: 15.47 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: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0006522/0.3086, allocations: 361.7 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3087, allocations: 12.92 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.3087, allocations: 16.84 kB / 1.31 GB, free: 15.06 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002881/0.309, allocations: 155 kB / 1.31 GB, free: 14.89 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.309, allocations: 8.375 kB / 1.31 GB, free: 14.88 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.309, allocations: 16.12 kB / 1.31 GB, free: 14.86 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3093, allocations: 100 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3093, allocations: 0 / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.3093, allocations: 4 kB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.3093, allocations: 11.92 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002143/0.3095, allocations: 67.95 kB / 1.31 GB, free: 14.68 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.3102, allocations: 375.7 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.3105, allocations: 74.67 kB / 1.31 GB, free: 14.19 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.3106, allocations: 40.83 kB / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.3106, allocations: 0 / 1.311 GB, free: 14.14 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.3106, allocations: 46.44 kB / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3106, allocations: 0 / 1.311 GB, free: 14.09 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0003882/0.311, allocations: 117.7 kB / 1.311 GB, free: 13.97 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/0.3111, allocations: 55.41 kB / 1.311 GB, free: 13.9 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3112, allocations: 157.5 kB / 1.311 GB, free: 13.74 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.3112, allocations: 29.7 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.3113, allocations: 116.3 kB / 1.311 GB, free: 13.59 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3113, allocations: 19.84 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.319e-05/0.3114, allocations: 25.7 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001403/0.3115, allocations: 322.8 kB / 1.311 GB, free: 13.21 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.806e-05/0.3116, allocations: 27.98 kB / 1.311 GB, free: 13.19 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3118, allocations: 62.48 kB / 1.311 GB, free: 13.12 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.3119, allocations: 60.98 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3119, allocations: 0 / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002453/0.3122, allocations: 113.5 kB / 1.312 GB, free: 12.94 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.3122, allocations: 11.94 kB / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3122, allocations: 0 / 1.312 GB, free: 12.93 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3122, allocations: 3.984 kB / 1.312 GB, free: 12.92 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.618e-05/0.3123, allocations: 8 kB / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.3123, allocations: 320 / 1.312 GB, free: 12.91 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.637e-05/0.3124, allocations: 19.92 kB / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.717e-06/0.3124, allocations: 0 / 1.312 GB, free: 12.89 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 5 (conSysSta.onTRoo.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTOut.y,$PRE.conSysSta.onTOut.y,conSysSta.onSys)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.000114/0.3125, allocations: 129.7 kB / 1.312 GB, free: 12.76 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.3126, allocations: 19.83 kB / 1.312 GB, free: 12.74 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.3126, allocations: 16.72 kB / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3126, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3126, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3126, allocations: 0 / 1.312 GB, free: 12.72 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.3128, allocations: 180.7 kB / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3128, allocations: 0 / 1.312 GB, free: 12.5 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.163e-05/0.3129, allocations: 11.98 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3129, allocations: 3.938 kB / 1.312 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.3129, allocations: 7.984 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.3129, allocations: 4 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.3129, allocations: 3.984 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3132, allocations: 203.4 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.3132, allocations: 15.84 kB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3133, allocations: 0 / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3134, allocations: 7.984 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.643e-05/0.3134, allocations: 15.97 kB / 1.312 GB, free: 12.22 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3134, allocations: 4 kB / 1.312 GB, free: 12.21 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 9.175e-05/0.3135, allocations: 119 kB / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.3135, allocations: 0 / 1.312 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002449/0.3138, allocations: 24.09 kB / 1.312 GB, free: 12.08 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y)
 * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0001149/0.3139, allocations: 108 kB / 1.313 GB, free: 11.96 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0002494/0.3141, allocations: 67.91 kB / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3141, allocations: 0 / 1.313 GB, free: 11.9 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3143, allocations: 35.97 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.3145, allocations: 8 kB / 1.313 GB, free: 11.86 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.315, allocations: 235.8 kB / 1.313 GB, free: 11.6 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.3154, allocations: 0.7079 MB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.74e-05/0.3154, allocations: 12.67 kB / 1.314 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.269e-05/0.3155, allocations: 19.42 kB / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3155, allocations: 0 / 1.314 GB, free: 10.83 MB / 1.014 GB
Notification: Performance of Templates: time 0.003979/0.3194, allocations: 1.173 MB / 1.315 GB, free: 9.664 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.sim & ./Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.406776123680174]