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.001501/0.001501, allocations: 80.8 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.001042/0.001042, allocations: 161 kB / 24.16 MB, free: 336 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.9241/0.9241, allocations: 177.2 MB / 204.6 MB, free: 5.242 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 1.75/1.75, allocations: 377.9 MB / 0.624 GB, free: 8.344 MB / 0.5886 GB " [Timeout remaining time 178] 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.637 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.635e-05/2.858e-05, allocations: 12.33 kB / 0.76 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004872/0.004901, allocations: 2.973 MB / 0.7629 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002992/0.007893, allocations: 1.206 MB / 0.7641 GB, free: 2.469 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004048/0.008298, allocations: 28.38 kB / 0.7641 GB, free: 2.441 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003089/0.008607, allocations: 87.12 kB / 0.7642 GB, free: 2.355 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002969/0.008904, allocations: 122.2 kB / 0.7643 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008647/0.009769, allocations: 361.5 kB / 0.7647 GB, free: 1.887 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0007241/0.01049, allocations: 0.6401 MB / 0.7653 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003247/0.01082, allocations: 156.4 kB / 0.7654 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005573/0.01137, allocations: 351 kB / 0.7658 GB, free: 0.7383 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.01158, allocations: 137.5 kB / 0.7659 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.564e-05/0.01165, allocations: 44 kB / 0.7659 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.01174, allocations: 52 kB / 0.766 GB, free: 0.5117 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.01183, allocations: 107.5 kB / 0.7661 GB, free: 416 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.01196, allocations: 135.5 kB / 0.7662 GB, free: 280 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0004845/0.01244, allocations: 363.8 kB / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.01244, allocations: 0 / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.743e-06/0.01245, allocations: 0 / 0.7666 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.123e-06/0.01245, allocations: 0 / 0.7666 GB, free: 15.92 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.0007646/0.01322, allocations: 0.716 MB / 0.7673 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.01326, allocations: 8.031 kB / 0.7673 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002122/0.01347, allocations: 81.55 kB / 0.7674 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004702/0.01394, allocations: 400.9 kB / 0.7677 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.01396, allocations: 21.03 kB / 0.7678 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.014, allocations: 36.36 kB / 0.7678 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003127/0.01431, allocations: 325.7 kB / 0.7681 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.01432, allocations: 192 / 0.7681 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.01434, allocations: 12.38 kB / 0.7681 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/0.01435, allocations: 11.94 kB / 0.7681 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.01445, allocations: 81.86 kB / 0.7682 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008584/0.01531, allocations: 1.014 MB / 0.7692 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.01557, allocations: 142.8 kB / 0.7693 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.01566, allocations: 68.75 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.01569, allocations: 4.75 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.01571, allocations: 34.56 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.054e-06/0.01571, allocations: 0.5 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0002309/0.01594, allocations: 151.1 kB / 0.7696 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.01598, allocations: 55.41 kB / 0.7696 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00047/0.01645, allocations: 383.1 kB / 0.77 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.01646, allocations: 29.7 kB / 0.77 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.01656, allocations: 209.7 kB / 0.7702 GB, free: 12 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.0166, allocations: 83.25 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.01666, allocations: 53.95 kB / 0.7704 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.01676, allocations: 366.6 kB / 0.7707 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.113e-05/0.0168, allocations: 24.55 kB / 0.7707 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.01687, allocations: 95.28 kB / 0.7708 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.017, allocations: 141.5 kB / 0.771 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.017, allocations: 4 kB / 0.771 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001857/0.01719, allocations: 179.3 kB / 0.7711 GB, free: 11 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.01721, allocations: 8 kB / 0.7711 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01721, allocations: 1.781 kB / 0.7711 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.01723, allocations: 4 kB / 0.7711 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001396/0.01737, allocations: 55.91 kB / 0.7712 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.01738, allocations: 11.92 kB / 0.7712 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.676e-05/0.01745, allocations: 24.5 kB / 0.7712 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.01746, allocations: 12.66 kB / 0.7712 GB, free: 10.89 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.877e-05/0.01756, allocations: 126.9 kB / 0.7714 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.0176, allocations: 35.89 kB / 0.7714 GB, free: 10.72 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.553e-05/0.01766, allocations: 49.11 kB / 0.7714 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01766, allocations: 4 kB / 0.7714 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.01766, allocations: 0 / 0.7714 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.01767, allocations: 4.578 kB / 0.7714 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.01789, allocations: 221.4 kB / 0.7717 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.0179, allocations: 0.7188 kB / 0.7717 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.01802, allocations: 53.41 kB / 0.7717 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.01802, allocations: 0 / 0.7717 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.01803, allocations: 3.938 kB / 0.7717 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01804, allocations: 0 / 0.7717 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.01804, allocations: 4.875 kB / 0.7717 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.0183, allocations: 259.5 kB / 0.772 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-05/0.01837, allocations: 47.66 kB / 0.772 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.01839, allocations: 7.938 kB / 0.772 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.824e-05/0.01847, allocations: 9.219 kB / 0.772 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.01852, allocations: 15.97 kB / 0.772 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.816e-06/0.01853, allocations: 7.984 kB / 0.7721 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001117/0.01864, allocations: 161.6 kB / 0.7722 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01864, allocations: 0 / 0.7722 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001836/0.01882, allocations: 67.78 kB / 0.7723 GB, free: 9.805 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 0.0001112/0.01893, allocations: 92.86 kB / 0.7724 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001676/0.0191, allocations: 118.9 kB / 0.7725 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.01911, allocations: 8 kB / 0.7725 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.011e-05/0.01917, allocations: 52.77 kB / 0.7725 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.01953, allocations: 138.3 kB / 0.7727 GB, free: 9.402 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.02055, allocations: 0.6988 MB / 0.7733 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.289e-05/0.02061, allocations: 101.3 kB / 0.7734 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.02073, allocations: 51.41 kB / 0.7735 GB, free: 8.516 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.02089, allocations: 131.3 kB / 0.7736 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.02089, allocations: 0 / 0.7736 GB, free: 8.387 MB / 0.7292 GB Notification: Performance of Templates: time 0.006926/0.02782, allocations: 4.329 MB / 0.7778 GB, free: 4.309 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 -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.855764097999781]