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.0009965/0.0009965, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009869/0.0009869, allocations: 169 kB / 24.28 MB, free: 280 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.9121/0.9121, allocations: 177.1 MB / 204.6 MB, free: 5.598 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.793/1.793, allocations: 377.8 MB / 0.6239 GB, free: 8.527 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.182e-06/1.182e-06, allocations: 3.938 kB / 0.8115 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.38e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.002896/0.00291, allocations: 3.03 MB / 0.8145 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001537/0.004447, allocations: 1.168 MB / 0.8156 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002464/0.004693, allocations: 27.81 kB / 0.8156 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.004901, allocations: 96.59 kB / 0.8157 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.005069, allocations: 118.2 kB / 0.8159 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.005603, allocations: 351.4 kB / 0.8162 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007252/0.006328, allocations: 0.6518 MB / 0.8168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002309/0.006559, allocations: 158.4 kB / 0.817 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.006892, allocations: 331.7 kB / 0.8173 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.007041, allocations: 148.3 kB / 0.8174 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.85e-05/0.00709, allocations: 56 kB / 0.8175 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.481e-05/0.007154, allocations: 57.16 kB / 0.8175 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.148e-05/0.007206, allocations: 107.5 kB / 0.8176 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.007294, allocations: 143.5 kB / 0.8178 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/0.007629, allocations: 391.8 kB / 0.8182 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.007631, allocations: 0 / 0.8182 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.11e-07/0.007632, allocations: 0 / 0.8182 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.007637, allocations: 1.75 kB / 0.8182 GB, free: 11.27 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.00077/0.008407, allocations: 0.8434 MB / 0.819 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.949e-05/0.008436, allocations: 12.59 kB / 0.819 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002173/0.008654, allocations: 106.2 kB / 0.8191 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.009163, allocations: 0.5008 MB / 0.8196 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.009181, allocations: 25.03 kB / 0.8196 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.00922, allocations: 29.09 kB / 0.8196 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.00958, allocations: 357 kB / 0.82 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.009588, allocations: 1.281 kB / 0.82 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.009609, allocations: 12.38 kB / 0.82 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.00962, allocations: 11.94 kB / 0.82 GB, free: 9.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.00981, allocations: 125.1 kB / 0.8201 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.01081, allocations: 1.554 MB / 0.8216 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.0111, allocations: 167.4 kB / 0.8218 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.406e-05/0.0112, allocations: 74.75 kB / 0.8219 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.01122, allocations: 6.562 kB / 0.8219 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.01124, allocations: 37.39 kB / 0.8219 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=23): time 1.352e-06/0.01124, allocations: 0 / 0.8219 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=23): time 0.000334/0.01157, allocations: 217.2 kB / 0.8221 GB, free: 7.012 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.0116, allocations: 59.34 kB / 0.8222 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/0.01188, allocations: 444.3 kB / 0.8226 GB, free: 6.492 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.0119, allocations: 25.7 kB / 0.8226 GB, free: 6.461 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01204, allocations: 311.2 kB / 0.8229 GB, free: 6.152 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.019e-05/0.01208, allocations: 87.2 kB / 0.823 GB, free: 6.066 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.01214, allocations: 59.64 kB / 0.8231 GB, free: 5.996 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003602/0.0125, allocations: 0.5206 MB / 0.8236 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.01257, allocations: 40.53 kB / 0.8236 GB, free: 5.426 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.01268, allocations: 132.5 kB / 0.8237 GB, free: 5.262 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001781/0.01286, allocations: 183.6 kB / 0.8239 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01286, allocations: 4 kB / 0.8239 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002567/0.01311, allocations: 241.6 kB / 0.8241 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.01313, allocations: 8.656 kB / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01313, allocations: 0 / 0.8241 GB, free: 4.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01314, allocations: 7.688 kB / 0.8242 GB, free: 4.793 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.01328, allocations: 59.91 kB / 0.8242 GB, free: 4.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01329, allocations: 11.92 kB / 0.8242 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.094e-05/0.01337, allocations: 23.84 kB / 0.8242 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01339, allocations: 8 kB / 0.8243 GB, free: 4.691 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.0001096/0.01349, allocations: 184.4 kB / 0.8244 GB, free: 4.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.976e-05/0.01354, allocations: 55.7 kB / 0.8245 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.264e-05/0.0136, allocations: 45.92 kB / 0.8245 GB, free: 4.402 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.0136, allocations: 4 kB / 0.8245 GB, free: 4.398 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.0136, allocations: 4 kB / 0.8245 GB, free: 4.395 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01361, allocations: 3.984 kB / 0.8245 GB, free: 4.391 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002426/0.01385, allocations: 308.3 kB / 0.8248 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.01385, allocations: 1.031 kB / 0.8248 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.01397, allocations: 39.92 kB / 0.8249 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.01397, allocations: 1.125 kB / 0.8249 GB, free: 4.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.01399, allocations: 11.98 kB / 0.8249 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.01399, allocations: 0 / 0.8249 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01399, allocations: 2.469 kB / 0.8249 GB, free: 4.004 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003387/0.01433, allocations: 386.2 kB / 0.8253 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.01441, allocations: 71.61 kB / 0.8253 GB, free: 3.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.01443, allocations: 4 kB / 0.8253 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.858e-05/0.01451, allocations: 8 kB / 0.8253 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.363e-05/0.01456, allocations: 17.7 kB / 0.8253 GB, free: 3.512 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.01457, allocations: 8 kB / 0.8254 GB, free: 3.504 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001756/0.01474, allocations: 291 kB / 0.8256 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01474, allocations: 0 / 0.8256 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002044/0.01495, allocations: 75.72 kB / 0.8257 GB, free: 3.145 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 6.958e-05/0.01501, allocations: 109 kB / 0.8258 GB, free: 3.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002092/0.01522, allocations: 132.3 kB / 0.8259 GB, free: 2.898 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.01523, allocations: 4 kB / 0.8259 GB, free: 2.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.352e-05/0.01531, allocations: 82.08 kB / 0.826 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003758/0.01568, allocations: 140.3 kB / 0.8262 GB, free: 2.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009466/0.01663, allocations: 0.6847 MB / 0.8268 GB, free: 1.965 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.638e-05/0.01669, allocations: 105.3 kB / 0.8269 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001154/0.0168, allocations: 47.27 kB / 0.827 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.01686, allocations: 32.48 kB / 0.827 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01686, allocations: 0 / 0.827 GB, free: 1.766 MB / 0.7761 GB Notification: Performance of Templates: time 0.005944/0.02281, allocations: 4.086 MB / 0.831 GB, free: 13.81 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.780479413224384]