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.001064/0.001064, allocations: 87.58 kB / 20.45 MB, free: 4.109 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.001063/0.001063, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9005/0.9005, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.778/1.778, allocations: 377.8 MB / 0.6236 GB, free: 8.543 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.573e-06/1.573e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.79e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003692/0.00372, allocations: 3.048 MB / 0.8145 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001902/0.005621, allocations: 1.168 MB / 0.8156 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003215/0.005943, allocations: 29.44 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002592/0.006202, allocations: 95.06 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.006414, allocations: 113.2 kB / 0.8159 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006728/0.007087, allocations: 352.2 kB / 0.8162 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.007678, allocations: 0.6479 MB / 0.8168 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002695/0.007947, allocations: 164 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004097/0.008357, allocations: 331.1 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.008525, allocations: 154 kB / 0.8175 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.427e-05/0.00858, allocations: 56 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.664e-05/0.008656, allocations: 55.98 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.816e-05/0.008714, allocations: 107.5 kB / 0.8177 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.782e-05/0.008812, allocations: 147.5 kB / 0.8178 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004006/0.009213, allocations: 382.4 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.009218, allocations: 0 / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.262e-06/0.009219, allocations: 0.5312 kB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.852e-06/0.009226, allocations: 0 / 0.8182 GB, free: 10.92 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.0008729/0.0101, allocations: 0.8485 MB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.01015, allocations: 12.53 kB / 0.819 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002522/0.0104, allocations: 109.9 kB / 0.8191 GB, free: 9.918 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008091/0.01121, allocations: 0.4986 MB / 0.8196 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.01122, allocations: 21.03 kB / 0.8196 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.59e-05/0.01127, allocations: 28.38 kB / 0.8196 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.01169, allocations: 361.4 kB / 0.82 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.01169, allocations: 192 / 0.82 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.01172, allocations: 16.38 kB / 0.82 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.01173, allocations: 12.78 kB / 0.82 GB, free: 8.914 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.01193, allocations: 118 kB / 0.8201 GB, free: 8.801 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.01305, allocations: 1.558 MB / 0.8217 GB, free: 7.18 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003362/0.01338, allocations: 166 kB / 0.8218 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.01349, allocations: 78.2 kB / 0.8219 GB, free: 6.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.01351, allocations: 4 kB / 0.8219 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.01354, allocations: 42.89 kB / 0.8219 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.01354, allocations: 0 / 0.8219 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.0003634/0.0139, allocations: 209.2 kB / 0.8221 GB, free: 6.664 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.01393, allocations: 55.91 kB / 0.8222 GB, free: 6.598 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.01425, allocations: 446.6 kB / 0.8226 GB, free: 6.145 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.01427, allocations: 34.14 kB / 0.8226 GB, free: 6.105 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.01442, allocations: 303.8 kB / 0.8229 GB, free: 5.805 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.376e-05/0.01446, allocations: 80.66 kB / 0.823 GB, free: 5.727 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.917e-05/0.01453, allocations: 67.56 kB / 0.8231 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.01467, allocations: 0.5196 MB / 0.8236 GB, free: 5.117 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.01475, allocations: 40.53 kB / 0.8236 GB, free: 5.078 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.01486, allocations: 127.9 kB / 0.8237 GB, free: 4.918 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002037/0.01506, allocations: 194.4 kB / 0.8239 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.01507, allocations: 0 / 0.8239 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002945/0.01536, allocations: 242.6 kB / 0.8242 GB, free: 4.457 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.01538, allocations: 8 kB / 0.8242 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.01539, allocations: 0 / 0.8242 GB, free: 4.449 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.0154, allocations: 4 kB / 0.8242 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.01557, allocations: 68.91 kB / 0.8242 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.01558, allocations: 7.938 kB / 0.8242 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.458e-05/0.01566, allocations: 24.97 kB / 0.8243 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.01568, allocations: 15.98 kB / 0.8243 GB, free: 4.332 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.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.0001135/0.01579, allocations: 184.3 kB / 0.8245 GB, free: 4.141 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.01584, allocations: 48.78 kB / 0.8245 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.906e-05/0.0159, allocations: 48.11 kB / 0.8245 GB, free: 4.047 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.0159, allocations: 5.062 kB / 0.8246 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.01591, allocations: 0 / 0.8246 GB, free: 4.043 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.01591, allocations: 3.984 kB / 0.8246 GB, free: 4.039 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002739/0.01619, allocations: 309 kB / 0.8249 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01619, allocations: 0 / 0.8249 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001307/0.01632, allocations: 44.78 kB / 0.8249 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01632, allocations: 0.8438 kB / 0.8249 GB, free: 3.66 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01634, allocations: 11.94 kB / 0.8249 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.01634, allocations: 0 / 0.8249 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01634, allocations: 1.875 kB / 0.8249 GB, free: 3.648 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.01672, allocations: 386.2 kB / 0.8253 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.0168, allocations: 59.62 kB / 0.8253 GB, free: 3.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.01683, allocations: 9.344 kB / 0.8253 GB, free: 3.188 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.01691, allocations: 11.98 kB / 0.8254 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.01697, allocations: 15.97 kB / 0.8254 GB, free: 3.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.01698, allocations: 4 kB / 0.8254 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002132/0.01719, allocations: 292.1 kB / 0.8257 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01719, allocations: 0 / 0.8257 GB, free: 2.871 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002359/0.01743, allocations: 71.78 kB / 0.8257 GB, free: 2.801 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 9.912e-05/0.01753, allocations: 118.5 kB / 0.8258 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002404/0.01777, allocations: 127.5 kB / 0.826 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01777, allocations: 0 / 0.826 GB, free: 2.551 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.873e-05/0.01786, allocations: 80.94 kB / 0.826 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.01845, allocations: 142.4 kB / 0.8262 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.01957, allocations: 0.684 MB / 0.8268 GB, free: 1.621 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.226e-05/0.01964, allocations: 105.3 kB / 0.8269 GB, free: 1.496 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001339/0.01977, allocations: 47.27 kB / 0.827 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.01984, allocations: 32.48 kB / 0.827 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of SimCode: time 1.112e-06/0.01984, allocations: 0 / 0.827 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of Templates: time 0.006788/0.02663, allocations: 4.092 MB / 0.831 GB, free: 13.46 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: 5.037828853819519]