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.0008973/0.0008973, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009302/0.0009302, allocations: 181 kB / 24.09 MB, free: 420 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 0.8815/0.8815, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.742/1.742, allocations: 377.9 MB / 0.6239 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 1.883e-06/1.883e-06, allocations: 0 / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.909e-05, allocations: 4.219 kB / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.005005/0.005034, allocations: 2.965 MB / 0.8149 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002666/0.0077, allocations: 1.168 MB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.008248, allocations: 24.72 kB / 0.816 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.008601, allocations: 91.08 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003704/0.008972, allocations: 117.7 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009858/0.009957, allocations: 361 kB / 0.8166 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001271/0.01123, allocations: 0.6479 MB / 0.8172 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004041/0.01163, allocations: 162.4 kB / 0.8174 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007044/0.01234, allocations: 336.3 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.01262, allocations: 143.4 kB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 9.161e-05/0.01271, allocations: 53.47 kB / 0.8179 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.01283, allocations: 55.98 kB / 0.8179 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.502e-05/0.01292, allocations: 95.62 kB / 0.818 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.01305, allocations: 135.5 kB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005766/0.01363, allocations: 363.2 kB / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.01363, allocations: 0 / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.402e-06/0.01364, allocations: 0.9062 kB / 0.8185 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.01365, allocations: 4 kB / 0.8185 GB, free: 10.76 MB / 0.7761 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.001321/0.01497, allocations: 0.8403 MB / 0.8193 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.01502, allocations: 12.03 kB / 0.8193 GB, free: 9.867 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002683/0.01529, allocations: 101.2 kB / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005699/0.01586, allocations: 490 kB / 0.8199 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.0159, allocations: 21.03 kB / 0.8199 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.01595, allocations: 36.31 kB / 0.82 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003764/0.01632, allocations: 361.7 kB / 0.8203 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.01633, allocations: 192 / 0.8203 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.099e-05/0.01635, allocations: 13.5 kB / 0.8203 GB, free: 8.793 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01636, allocations: 11.94 kB / 0.8203 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.01649, allocations: 86.27 kB / 0.8204 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.01757, allocations: 1.487 MB / 0.8219 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.01786, allocations: 162.8 kB / 0.822 GB, free: 6.984 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.01798, allocations: 76.39 kB / 0.8221 GB, free: 6.91 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/0.01801, allocations: 4 kB / 0.8221 GB, free: 6.906 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.01804, allocations: 41.39 kB / 0.8221 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 2.554e-06/0.01804, allocations: 3.938 kB / 0.8221 GB, free: 6.852 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0003138/0.01836, allocations: 197.6 kB / 0.8223 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.01839, allocations: 58.84 kB / 0.8224 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002743/0.01866, allocations: 430.4 kB / 0.8228 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01868, allocations: 37.69 kB / 0.8228 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.01884, allocations: 299.2 kB / 0.8231 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.838e-05/0.01889, allocations: 91.2 kB / 0.8232 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/0.01897, allocations: 59.61 kB / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.01914, allocations: 0.5234 MB / 0.8238 GB, free: 5.109 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.062e-05/0.01919, allocations: 28.53 kB / 0.8238 GB, free: 5.082 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.179e-05/0.01928, allocations: 126.7 kB / 0.8239 GB, free: 4.922 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/0.01979, allocations: 168 kB / 0.8241 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01979, allocations: 0.5312 kB / 0.8241 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002711/0.02007, allocations: 234.7 kB / 0.8243 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.02008, allocations: 4.656 kB / 0.8243 GB, free: 4.488 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.02009, allocations: 5.531 kB / 0.8243 GB, free: 4.484 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.02011, allocations: 4 kB / 0.8243 GB, free: 4.48 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.02025, allocations: 55.91 kB / 0.8244 GB, free: 4.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.02026, allocations: 7.984 kB / 0.8244 GB, free: 4.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.97e-05/0.02034, allocations: 23.55 kB / 0.8244 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.02035, allocations: 12 kB / 0.8244 GB, free: 4.387 MB / 0.7761 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 0.0001262/0.02048, allocations: 176.4 kB / 0.8246 GB, free: 4.203 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.02053, allocations: 55.61 kB / 0.8246 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.229e-05/0.02059, allocations: 48.11 kB / 0.8247 GB, free: 4.102 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.02059, allocations: 4 kB / 0.8247 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.0206, allocations: 0 / 0.8247 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.77e-06/0.0206, allocations: 3.984 kB / 0.8247 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.02086, allocations: 249.9 kB / 0.8249 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02086, allocations: 0 / 0.8249 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.02099, allocations: 53 kB / 0.825 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.021, allocations: 3.938 kB / 0.825 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.02101, allocations: 0 / 0.825 GB, free: 3.77 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.02101, allocations: 5.062 kB / 0.825 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.02101, allocations: 0 / 0.825 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.02134, allocations: 355.4 kB / 0.8253 GB, free: 3.402 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.769e-05/0.02142, allocations: 75.52 kB / 0.8254 GB, free: 3.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.02145, allocations: 16.84 kB / 0.8254 GB, free: 3.312 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.02152, allocations: 7.984 kB / 0.8254 GB, free: 3.305 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.153e-05/0.02158, allocations: 17.62 kB / 0.8254 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.02158, allocations: 4 kB / 0.8254 GB, free: 3.285 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001528/0.02174, allocations: 275 kB / 0.8257 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.7e-07/0.02174, allocations: 0 / 0.8257 GB, free: 3.02 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002221/0.02196, allocations: 71.78 kB / 0.8258 GB, free: 2.949 MB / 0.7761 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.0001249/0.02208, allocations: 108.3 kB / 0.8259 GB, free: 2.836 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.02228, allocations: 117.6 kB / 0.826 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02228, allocations: 0 / 0.826 GB, free: 2.719 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 7.7e-05/0.02236, allocations: 71.97 kB / 0.8261 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.02282, allocations: 139.5 kB / 0.8262 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.02394, allocations: 0.6821 MB / 0.8269 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.459e-05/0.02402, allocations: 106 kB / 0.827 GB, free: 1.676 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001667/0.02418, allocations: 52.03 kB / 0.827 GB, free: 1.625 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.02437, allocations: 154.1 kB / 0.8272 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of SimCode: time 1.092e-06/0.02437, allocations: 0 / 0.8272 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of Templates: time 0.007223/0.03159, allocations: 4.403 MB / 0.8315 GB, free: 13.21 MB / 0.7917 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 -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: 4.655164973810315]