Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.001681/0.001681, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.001701/0.001701, allocations: 191.5 kB / 22.11 MB, free: 5.152 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.525/1.525, allocations: 225.6 MB / 250.8 MB, free: 13.04 MB / 206.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 3.259/3.259, allocations: 495.8 MB / 0.783 GB, free: 33.54 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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan")
translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conHeaFan.yHea|conHeaFan.yFan|conHeaFan.TSetRooCoo|conHeaFan.TRoo|conHeaFan.TSetRooHea",fileNamePrefix="Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 74.81 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.53/0.532, allocations: 173.6 MB / 1.307 GB, free: 1.918 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005518/0.5376, allocations: 3.146 MB / 1.31 GB, free: 14.76 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002532/0.5401, allocations: 1.114 MB / 1.311 GB, free: 13.64 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003016/0.5404, allocations: 27.75 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003355/0.5407, allocations: 91.12 kB / 1.311 GB, free: 13.52 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002575/0.541, allocations: 111 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008416/0.5418, allocations: 351.1 kB / 1.311 GB, free: 13.07 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0008108/0.5426, allocations: 0.6441 MB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003653/0.543, allocations: 154.5 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003537/0.5434, allocations: 239 kB / 1.312 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002923/0.5436, allocations: 210.8 kB / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.199e-05/0.5437, allocations: 52 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.095e-05/0.5438, allocations: 52 kB / 1.313 GB, free: 11.73 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.5439, allocations: 107.6 kB / 1.313 GB, free: 11.62 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002471/0.5442, allocations: 242.6 kB / 1.313 GB, free: 11.38 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008675/0.5451, allocations: 0.6846 MB / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5451, allocations: 0 / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of FrontEnd: time 3.016e-06/0.5451, allocations: 0 / 1.314 GB, free: 10.7 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.097e-05/0.5451, allocations: 4 kB / 1.314 GB, free: 10.69 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: 72
 * Number of variables: 72
Notification: Performance of Generate backend data structure: time 0.001525/0.5466, allocations: 0.7654 MB / 1.315 GB, free: 9.895 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.5466, allocations: 8.031 kB / 1.315 GB, free: 9.887 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.5468, allocations: 68.5 kB / 1.315 GB, free: 9.82 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.5478, allocations: 467.5 kB / 1.315 GB, free: 9.336 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.117e-05/0.5479, allocations: 25.03 kB / 1.315 GB, free: 9.312 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.481e-05/0.5479, allocations: 28.38 kB / 1.315 GB, free: 9.285 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007261/0.5486, allocations: 371.3 kB / 1.315 GB, free: 8.891 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.5487, allocations: 3.938 kB / 1.315 GB, free: 8.887 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.5487, allocations: 15.94 kB / 1.315 GB, free: 8.871 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.5487, allocations: 8 kB / 1.315 GB, free: 8.863 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000642/0.5494, allocations: 254.4 kB / 1.316 GB, free: 8.613 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.5512, allocations: 1.383 MB / 1.317 GB, free: 7.164 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007937/0.552, allocations: 251.9 kB / 1.317 GB, free: 6.91 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003026/0.5523, allocations: 126.2 kB / 1.317 GB, free: 6.785 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.5524, allocations: 0 / 1.317 GB, free: 6.785 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.5524, allocations: 42.56 kB / 1.317 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=23): time 1.212e-06/0.5524, allocations: 0 / 1.317 GB, free: 6.734 MB / 1.014 GB
Notification: Performance of matching and sorting (n=23): time 0.001018/0.5534, allocations: 367.9 kB / 1.318 GB, free: 6.371 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.486e-05/0.5535, allocations: 55.41 kB / 1.318 GB, free: 6.305 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005287/0.554, allocations: 410 kB / 1.318 GB, free: 5.898 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.554, allocations: 29.7 kB / 1.318 GB, free: 5.863 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.5543, allocations: 264.4 kB / 1.319 GB, free: 5.602 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.238e-05/0.5544, allocations: 91.19 kB / 1.319 GB, free: 5.512 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.5545, allocations: 57.92 kB / 1.319 GB, free: 5.445 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0002197/0.5547, allocations: 358.7 kB / 1.319 GB, free: 5.086 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000321/0.5551, allocations: 96.5 kB / 1.319 GB, free: 4.992 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003149/0.5554, allocations: 157.9 kB / 1.319 GB, free: 4.812 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005862/0.556, allocations: 277.9 kB / 1.32 GB, free: 4.516 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.556, allocations: 0 / 1.32 GB, free: 4.516 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007179/0.5567, allocations: 337.3 kB / 1.32 GB, free: 4.18 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5567, allocations: 8 kB / 1.32 GB, free: 4.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.5567, allocations: 4 kB / 1.32 GB, free: 4.168 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.5567, allocations: 4 kB / 1.32 GB, free: 4.164 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.557, allocations: 59.89 kB / 1.32 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.557, allocations: 7.938 kB / 1.32 GB, free: 4.098 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.5572, allocations: 39.77 kB / 1.32 GB, free: 4.059 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.5573, allocations: 12 kB / 1.32 GB, free: 4.047 MB / 1.014 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (33):
 * Single equations (assignments): 33
 * 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.0002379/0.5575, allocations: 181.4 kB / 1.32 GB, free: 3.863 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.493e-05/0.5576, allocations: 43.72 kB / 1.32 GB, free: 3.82 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.5577, allocations: 48.06 kB / 1.32 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.5577, allocations: 7.984 kB / 1.32 GB, free: 3.762 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5577, allocations: 0 / 1.32 GB, free: 3.762 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5577, allocations: 7.875 kB / 1.32 GB, free: 3.754 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005651/0.5583, allocations: 404.3 kB / 1.321 GB, free: 3.316 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.5583, allocations: 0 / 1.321 GB, free: 3.316 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.5586, allocations: 51.91 kB / 1.321 GB, free: 3.266 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.5586, allocations: 4 kB / 1.321 GB, free: 3.262 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.5586, allocations: 8 kB / 1.321 GB, free: 3.254 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5586, allocations: 0 / 1.321 GB, free: 3.254 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5586, allocations: 3.984 kB / 1.321 GB, free: 3.25 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001061/0.5597, allocations: 0.4949 MB / 1.321 GB, free: 2.738 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.5598, allocations: 71.61 kB / 1.321 GB, free: 2.668 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/0.5599, allocations: 4 kB / 1.321 GB, free: 2.664 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.56, allocations: 11.98 kB / 1.321 GB, free: 2.652 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.5601, allocations: 15.97 kB / 1.321 GB, free: 2.637 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.611e-05/0.5601, allocations: 7.938 kB / 1.321 GB, free: 2.629 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003645/0.5605, allocations: 291.1 kB / 1.322 GB, free: 2.348 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/0.5605, allocations: 64 / 1.322 GB, free: 2.348 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003524/0.5608, allocations: 79.72 kB / 1.322 GB, free: 2.27 MB / 1.014 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (23):
 * Single equations (assignments): 23
 * 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.0001677/0.561, allocations: 108 kB / 1.322 GB, free: 2.156 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0006762/0.5617, allocations: 231.1 kB / 1.322 GB, free: 1.934 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5617, allocations: 4 kB / 1.322 GB, free: 1.93 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002683/0.562, allocations: 111.7 kB / 1.322 GB, free: 1.82 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007401/0.5627, allocations: 120.5 kB / 1.322 GB, free: 1.707 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.5643, allocations: 0.7389 MB / 1.323 GB, free: 0.9375 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006029/0.5649, allocations: 0.8233 MB / 1.324 GB, free: 92 kB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0001918/0.5651, allocations: 47.25 kB / 1.324 GB, free: 40 kB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.5653, allocations: 31.44 kB / 1.324 GB, free: 8 kB / 1.014 GB
Notification: Performance of SimCode: time 6.21e-07/0.5653, allocations: 0 / 1.324 GB, free: 8 kB / 1.014 GB
Notification: Performance of Templates: time 0.01013/0.5754, allocations: 4.022 MB / 1.328 GB, free: 12.06 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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: 10.142211135476828]