Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00097/0.00097, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009397/0.0009397, allocations: 161 kB / 23.81 MB, free: 0.75 MB / 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.8965/0.8965, allocations: 177.1 MB / 204.2 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.67/1.67, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 11.41 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.687e-05, allocations: 2.312 kB / 0.7871 GB, free: 11.4 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003537/0.003574, allocations: 3.041 MB / 0.7901 GB, free: 8.363 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001528/0.005102, allocations: 1.168 MB / 0.7912 GB, free: 7.191 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001982/0.005301, allocations: 27.75 kB / 0.7912 GB, free: 7.164 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.00553, allocations: 88.59 kB / 0.7913 GB, free: 7.078 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.005695, allocations: 118.2 kB / 0.7914 GB, free: 6.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005135/0.006209, allocations: 359.4 kB / 0.7918 GB, free: 6.613 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0004397/0.006649, allocations: 0.6479 MB / 0.7924 GB, free: 5.965 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.00688, allocations: 151.4 kB / 0.7925 GB, free: 5.809 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003489/0.007229, allocations: 343.1 kB / 0.7929 GB, free: 5.473 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.007372, allocations: 144 kB / 0.793 GB, free: 5.332 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.817e-05/0.00742, allocations: 45.5 kB / 0.793 GB, free: 5.289 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.007492, allocations: 52 kB / 0.7931 GB, free: 5.238 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 5.545e-05/0.007547, allocations: 99.56 kB / 0.7932 GB, free: 5.141 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.657e-05/0.007634, allocations: 135.5 kB / 0.7933 GB, free: 5.008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003501/0.007984, allocations: 359.1 kB / 0.7937 GB, free: 4.656 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.007987, allocations: 4.906 kB / 0.7937 GB, free: 4.652 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.513e-06/0.007988, allocations: 0 / 0.7937 GB, free: 4.652 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.242e-06/0.007994, allocations: 3.938 kB / 0.7937 GB, free: 4.648 MB / 0.698 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.0008135/0.008808, allocations: 0.8401 MB / 0.7945 GB, free: 3.773 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.008847, allocations: 8.031 kB / 0.7945 GB, free: 3.766 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.009079, allocations: 114.1 kB / 0.7946 GB, free: 3.656 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.009566, allocations: 488.9 kB / 0.7951 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.009583, allocations: 25.03 kB / 0.7951 GB, free: 3.133 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.009623, allocations: 29.91 kB / 0.7951 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.01002, allocations: 360.5 kB / 0.7955 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.01003, allocations: 0.7188 kB / 0.7955 GB, free: 2.695 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.01006, allocations: 16.36 kB / 0.7955 GB, free: 2.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.01007, allocations: 14 kB / 0.7955 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.01025, allocations: 123.7 kB / 0.7956 GB, free: 2.551 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01132, allocations: 1.549 MB / 0.7971 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.01163, allocations: 169.9 kB / 0.7973 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.01178, allocations: 80.48 kB / 0.7974 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.5e-05/0.0118, allocations: 4 kB / 0.7974 GB, free: 0.6719 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.01183, allocations: 41.39 kB / 0.7974 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.206e-06/0.01183, allocations: 6.109 kB / 0.7974 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.0003512/0.01218, allocations: 215.4 kB / 0.7976 GB, free: 412 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.746e-05/0.01221, allocations: 59.27 kB / 0.7977 GB, free: 340 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.01252, allocations: 434.7 kB / 0.7981 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.01254, allocations: 34.2 kB / 0.7981 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.01269, allocations: 309.7 kB / 0.7984 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.741e-05/0.01274, allocations: 91.2 kB / 0.7985 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.01281, allocations: 63.59 kB / 0.7986 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.01295, allocations: 0.5274 MB / 0.7991 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.01302, allocations: 32.55 kB / 0.7991 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001067/0.01313, allocations: 130.3 kB / 0.7992 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/0.01332, allocations: 194.3 kB / 0.7994 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01332, allocations: 1.156 kB / 0.7994 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002677/0.01359, allocations: 239.6 kB / 0.7997 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.01361, allocations: 10.19 kB / 0.7997 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01361, allocations: 0.7812 kB / 0.7997 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.01363, allocations: 4 kB / 0.7997 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.01377, allocations: 60.41 kB / 0.7997 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.01378, allocations: 13.02 kB / 0.7997 GB, free: 14.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.01387, allocations: 27.83 kB / 0.7998 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.01388, allocations: 16.66 kB / 0.7998 GB, free: 14.06 MB / 0.7136 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.0001122/0.01399, allocations: 177.3 kB / 0.8 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.919e-05/0.01404, allocations: 55.67 kB / 0.8 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.0141, allocations: 51.88 kB / 0.8001 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.0141, allocations: 4 kB / 0.8001 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.0141, allocations: 0 / 0.8001 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01411, allocations: 0 / 0.8001 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002545/0.01436, allocations: 316.3 kB / 0.8004 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01436, allocations: 0 / 0.8004 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.01449, allocations: 43.97 kB / 0.8004 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01449, allocations: 0 / 0.8004 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.01451, allocations: 7.984 kB / 0.8004 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.01451, allocations: 7.938 kB / 0.8004 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.01451, allocations: 1.156 kB / 0.8004 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003747/0.01489, allocations: 379.9 kB / 0.8008 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.01496, allocations: 71.58 kB / 0.8008 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.849e-05/0.01499, allocations: 4 kB / 0.8009 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.45e-05/0.01506, allocations: 5.125 kB / 0.8009 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/0.01512, allocations: 19.97 kB / 0.8009 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.01513, allocations: 11.98 kB / 0.8009 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001794/0.01531, allocations: 291.3 kB / 0.8012 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.01531, allocations: 0 / 0.8012 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001971/0.01551, allocations: 59.89 kB / 0.8012 GB, free: 12.54 MB / 0.7136 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.213e-05/0.0156, allocations: 107.2 kB / 0.8013 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002277/0.01583, allocations: 149.1 kB / 0.8015 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01583, allocations: 0 / 0.8015 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.01591, allocations: 64.09 kB / 0.8015 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.01632, allocations: 147.7 kB / 0.8017 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.01744, allocations: 0.6899 MB / 0.8023 GB, free: 11.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.527e-05/0.01751, allocations: 109.2 kB / 0.8024 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001101/0.01762, allocations: 47.25 kB / 0.8025 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/0.01769, allocations: 36.5 kB / 0.8025 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/0.01769, allocations: 0 / 0.8025 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.006456/0.02415, allocations: 4.291 MB / 0.8067 GB, free: 6.973 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.858474089764059]