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.001645/0.001645, allocations: 113.9 kB / 18.94 MB, free: 2.789 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.001717/0.001717, allocations: 193.1 kB / 22.23 MB, free: 5.227 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.433/1.433, 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-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.242/3.242, allocations: 496 MB / 0.7835 GB, free: 33.53 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.003525/0.003525, allocations: 60.88 kB / 1.138 GB, free: 34.05 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3528, allocations: 173.6 MB / 1.307 GB, free: 1.977 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00512/0.3579, allocations: 3.154 MB / 1.31 GB, free: 14.81 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002417/0.3603, allocations: 1.107 MB / 1.311 GB, free: 13.7 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.3608, allocations: 23.81 kB / 1.311 GB, free: 13.67 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.3612, allocations: 95.06 kB / 1.312 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0003857/0.3616, allocations: 111 kB / 1.312 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.3625, allocations: 342.7 kB / 1.312 GB, free: 13.14 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0008664/0.3633, allocations: 0.6441 MB / 1.313 GB, free: 12.49 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.3637, allocations: 162.4 kB / 1.313 GB, free: 12.32 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003724/0.3641, allocations: 231 kB / 1.313 GB, free: 12.1 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003165/0.3644, allocations: 214.8 kB / 1.313 GB, free: 11.89 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 9.395e-05/0.3645, allocations: 56 kB / 1.313 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.532e-05/0.3646, allocations: 52 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3647, allocations: 115.5 kB / 1.313 GB, free: 11.67 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.3649, allocations: 238.6 kB / 1.314 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007791/0.3657, allocations: 0.6846 MB / 1.314 GB, free: 10.75 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3657, allocations: 4 kB / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.543e-06/0.3657, allocations: 0 / 1.314 GB, free: 10.74 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.809e-05/0.3657, allocations: 0 / 1.314 GB, free: 10.74 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.001485/0.3672, allocations: 0.7576 MB / 1.315 GB, free: 9.953 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3672, allocations: 8.922 kB / 1.315 GB, free: 9.945 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.3674, allocations: 64.52 kB / 1.315 GB, free: 9.883 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009576/0.3683, allocations: 467.5 kB / 1.316 GB, free: 9.398 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3683, allocations: 25.03 kB / 1.316 GB, free: 9.375 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.3684, allocations: 28.38 kB / 1.316 GB, free: 9.348 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007007/0.3691, allocations: 375.3 kB / 1.316 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3691, allocations: 4 kB / 1.316 GB, free: 8.945 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.3691, allocations: 15.94 kB / 1.316 GB, free: 8.93 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.3692, allocations: 8 kB / 1.316 GB, free: 8.922 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006523/0.3698, allocations: 254.4 kB / 1.316 GB, free: 8.672 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001822/0.3716, allocations: 1.391 MB / 1.318 GB, free: 7.215 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007308/0.3724, allocations: 256.9 kB / 1.318 GB, free: 6.957 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.3727, allocations: 124.7 kB / 1.318 GB, free: 6.832 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.3727, allocations: 4 kB / 1.318 GB, free: 6.828 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3727, allocations: 38.55 kB / 1.318 GB, free: 6.781 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=23): time 1.793e-06/0.3727, allocations: 0 / 1.318 GB, free: 6.781 MB / 1.014 GB
Notification: Performance of matching and sorting (n=23): time 0.0009709/0.3737, allocations: 365.1 kB / 1.318 GB, free: 6.418 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3737, allocations: 51.41 kB / 1.318 GB, free: 6.355 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005216/0.3743, allocations: 417.9 kB / 1.319 GB, free: 5.941 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3743, allocations: 29.7 kB / 1.319 GB, free: 5.906 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002301/0.3745, allocations: 260.4 kB / 1.319 GB, free: 5.648 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.3746, allocations: 95.25 kB / 1.319 GB, free: 5.555 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3747, allocations: 53.94 kB / 1.319 GB, free: 5.492 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001783/0.3749, allocations: 358.7 kB / 1.32 GB, free: 5.133 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.3752, allocations: 96.5 kB / 1.32 GB, free: 5.039 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.3755, allocations: 161.9 kB / 1.32 GB, free: 4.855 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.3761, allocations: 268.1 kB / 1.32 GB, free: 4.566 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3761, allocations: 0 / 1.32 GB, free: 4.566 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007213/0.3768, allocations: 342.8 kB / 1.32 GB, free: 4.227 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3768, allocations: 8 kB / 1.32 GB, free: 4.219 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3768, allocations: 3.984 kB / 1.32 GB, free: 4.215 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.3768, allocations: 4 kB / 1.32 GB, free: 4.211 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.3771, allocations: 64.16 kB / 1.32 GB, free: 4.148 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3771, allocations: 7.984 kB / 1.32 GB, free: 4.141 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002171/0.3774, allocations: 35.77 kB / 1.321 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.3774, allocations: 12 kB / 1.321 GB, free: 4.094 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.000218/0.3776, allocations: 173.7 kB / 1.321 GB, free: 3.914 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.901e-05/0.3777, allocations: 47.66 kB / 1.321 GB, free: 3.867 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.3778, allocations: 52.05 kB / 1.321 GB, free: 3.812 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3778, allocations: 4 kB / 1.321 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.3778, allocations: 4 kB / 1.321 GB, free: 3.805 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.3778, allocations: 7.875 kB / 1.321 GB, free: 3.797 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.3783, allocations: 404.3 kB / 1.321 GB, free: 3.359 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3783, allocations: 0 / 1.321 GB, free: 3.359 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002739/0.3786, allocations: 43.95 kB / 1.321 GB, free: 3.316 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3786, allocations: 4 kB / 1.321 GB, free: 3.312 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3786, allocations: 4 kB / 1.321 GB, free: 3.309 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3786, allocations: 4 kB / 1.321 GB, free: 3.305 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3786, allocations: 7.938 kB / 1.321 GB, free: 3.297 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009832/0.3796, allocations: 0.5011 MB / 1.322 GB, free: 2.781 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.3798, allocations: 67.58 kB / 1.322 GB, free: 2.715 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.3798, allocations: 8.062 kB / 1.322 GB, free: 2.707 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.38, allocations: 15.98 kB / 1.322 GB, free: 2.691 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.681e-05/0.3801, allocations: 15.97 kB / 1.322 GB, free: 2.676 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.3801, allocations: 11.94 kB / 1.322 GB, free: 2.664 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0003583/0.3805, allocations: 291.1 kB / 1.322 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of sort global known variables: time 6e-08/0.3805, allocations: 0 / 1.322 GB, free: 2.383 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003566/0.3808, allocations: 71.78 kB / 1.322 GB, free: 2.312 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.0001442/0.381, allocations: 108 kB / 1.322 GB, free: 2.199 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0006536/0.3816, allocations: 231.2 kB / 1.323 GB, free: 1.977 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3816, allocations: 0 / 1.323 GB, free: 1.977 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.3819, allocations: 116.2 kB / 1.323 GB, free: 1.863 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006451/0.3825, allocations: 123 kB / 1.323 GB, free: 1.758 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.384, allocations: 0.7338 MB / 1.323 GB, free: 0.9922 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.3844, allocations: 0.8271 MB / 1.324 GB, free: 144 kB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.000202/0.3846, allocations: 55.25 kB / 1.324 GB, free: 84 kB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.035e-05/0.3847, allocations: 27.44 kB / 1.324 GB, free: 56 kB / 1.014 GB
Notification: Performance of SimCode: time 3.01e-07/0.3847, allocations: 0 / 1.324 GB, free: 56 kB / 1.014 GB
Notification: Performance of Templates: time 0.009672/0.3944, allocations: 4.003 MB / 1.328 GB, free: 12.11 MB / 1.029 GB
"
[Timeout remaining time 300]
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: 8.945432673208416]