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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 80.92 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 161 kB / 24.17 MB, free: 332 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.064/1.064, allocations: 177.2 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.041/2.041, allocations: 377.9 MB / 0.624 GB, free: 8.363 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.234e-06/2.234e-06, allocations: 0 / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.729e-05, allocations: 5.547 kB / 0.7601 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.006089/0.006127, allocations: 3.018 MB / 0.763 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001929/0.008055, allocations: 1.211 MB / 0.7642 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.008277, allocations: 27.75 kB / 0.7642 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002368/0.008513, allocations: 91.06 kB / 0.7643 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001671/0.00868, allocations: 114.3 kB / 0.7644 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.00923, allocations: 355.9 kB / 0.7647 GB, free: 1.812 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004595/0.00969, allocations: 0.6517 MB / 0.7654 GB, free: 1.16 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002535/0.009943, allocations: 161.1 kB / 0.7655 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003533/0.0103, allocations: 343.8 kB / 0.7659 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.01044, allocations: 140.2 kB / 0.766 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.023e-05/0.01049, allocations: 48 kB / 0.766 GB, free: 484 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.785e-05/0.01057, allocations: 53.44 kB / 0.7661 GB, free: 432 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.867e-05/0.01062, allocations: 103.5 kB / 0.7662 GB, free: 328 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 8.715e-05/0.01071, allocations: 131.5 kB / 0.7663 GB, free: 196 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003844/0.0111, allocations: 362.5 kB / 0.7667 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.0111, allocations: 1.25 kB / 0.7667 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.244e-06/0.0111, allocations: 0 / 0.7667 GB, free: 15.84 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.01111, allocations: 0 / 0.7667 GB, free: 15.84 MB / 0.7292 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.0006732/0.01178, allocations: 0.7117 MB / 0.7674 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.01182, allocations: 8.031 kB / 0.7674 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.01202, allocations: 84.23 kB / 0.7674 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.01245, allocations: 399.9 kB / 0.7678 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.01247, allocations: 21.03 kB / 0.7678 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.682e-05/0.01251, allocations: 36.36 kB / 0.7679 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000294/0.0128, allocations: 322.9 kB / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01281, allocations: 192 / 0.7682 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.01283, allocations: 12.38 kB / 0.7682 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.447e-06/0.01284, allocations: 17.38 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.01294, allocations: 76.48 kB / 0.7683 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007694/0.01371, allocations: 1.015 MB / 0.7693 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.01393, allocations: 136.8 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.01402, allocations: 78.23 kB / 0.7695 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.01404, allocations: 4 kB / 0.7695 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.01406, allocations: 38.56 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 1.313e-06/0.01407, allocations: 2.469 kB / 0.7695 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0002332/0.0143, allocations: 148.3 kB / 0.7697 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.893e-05/0.01433, allocations: 55.41 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.01466, allocations: 379.2 kB / 0.7701 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.01468, allocations: 29.7 kB / 0.7701 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.424e-05/0.01477, allocations: 205.7 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.207e-05/0.01481, allocations: 92.27 kB / 0.7704 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.694e-05/0.01487, allocations: 49.97 kB / 0.7704 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.01497, allocations: 358.7 kB / 0.7708 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.973e-05/0.01501, allocations: 29.42 kB / 0.7708 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.032e-05/0.01508, allocations: 98.91 kB / 0.7709 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.01521, allocations: 138 kB / 0.771 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01521, allocations: 0 / 0.771 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001813/0.01539, allocations: 180.1 kB / 0.7712 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.0154, allocations: 4 kB / 0.7712 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01541, allocations: 5.625 kB / 0.7712 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.01542, allocations: 4 kB / 0.7712 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.01558, allocations: 59.91 kB / 0.7713 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.01558, allocations: 5.047 kB / 0.7713 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.245e-05/0.01565, allocations: 27.84 kB / 0.7713 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.01567, allocations: 11.94 kB / 0.7713 GB, free: 10.81 MB / 0.7292 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.conHeaCoi.I.trigger_internal,conHeaFan.conFan.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 9.506e-05/0.01577, allocations: 130.4 kB / 0.7715 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-05/0.0158, allocations: 40.55 kB / 0.7715 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.01586, allocations: 44.73 kB / 0.7715 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01587, allocations: 4 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.413e-06/0.01587, allocations: 0.6875 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01587, allocations: 4.516 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001977/0.01607, allocations: 225.4 kB / 0.7718 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.01607, allocations: 4.562 kB / 0.7718 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.01619, allocations: 48.56 kB / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01619, allocations: 1.5 kB / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.0162, allocations: 3.938 kB / 0.7718 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.0162, allocations: 4 kB / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.0162, allocations: 3.984 kB / 0.7718 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.01645, allocations: 261.8 kB / 0.7721 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.131e-05/0.01651, allocations: 48.25 kB / 0.7721 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.01653, allocations: 11.94 kB / 0.7721 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.0166, allocations: 8.594 kB / 0.7721 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.01665, allocations: 16.61 kB / 0.7722 GB, free: 9.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.01665, allocations: 8 kB / 0.7722 GB, free: 9.934 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001095/0.01676, allocations: 157.2 kB / 0.7723 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01676, allocations: 1.531 kB / 0.7723 GB, free: 9.781 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001716/0.01693, allocations: 71.78 kB / 0.7724 GB, free: 9.711 MB / 0.7292 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 9.499e-05/0.01703, allocations: 92.34 kB / 0.7725 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001549/0.01718, allocations: 119.7 kB / 0.7726 GB, free: 9.492 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.521e-06/0.01719, allocations: 4 kB / 0.7726 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.827e-05/0.01725, allocations: 56.77 kB / 0.7726 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003334/0.01758, allocations: 128.9 kB / 0.7728 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009232/0.0185, allocations: 0.6909 MB / 0.7734 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.545e-05/0.01857, allocations: 105.3 kB / 0.7735 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000118/0.01869, allocations: 49.5 kB / 0.7736 GB, free: 8.43 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001566/0.01884, allocations: 127.3 kB / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of SimCode: time 1.292e-06/0.01885, allocations: 0.9375 kB / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of Templates: time 0.006973/0.02582, allocations: 4.343 MB / 0.7779 GB, free: 4.203 MB / 0.7292 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.4175485647283494]