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.001079/0.001079, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001067/0.001067, allocations: 160.8 kB / 24.86 MB, free: 8.891 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.9292/0.9292, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.708/1.708, allocations: 359 MB / 0.6063 GB, free: 10.85 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.413e-06/1.413e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.496e-05/2.637e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003685/0.003711, allocations: 2.965 MB / 0.7912 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001899/0.00561, allocations: 1.16 MB / 0.7923 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.005967, allocations: 25.44 kB / 0.7924 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000254/0.006221, allocations: 99 kB / 0.7924 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002193/0.00644, allocations: 118.2 kB / 0.7926 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.007074, allocations: 355.4 kB / 0.7929 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006593/0.007734, allocations: 0.6517 MB / 0.7935 GB, free: 6.852 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002734/0.008007, allocations: 159.2 kB / 0.7937 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005081/0.008515, allocations: 343.6 kB / 0.794 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001972/0.008712, allocations: 144.1 kB / 0.7941 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.297e-05/0.008765, allocations: 48.91 kB / 0.7942 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.154e-05/0.008837, allocations: 48 kB / 0.7942 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.008893, allocations: 103.5 kB / 0.7943 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.836e-05/0.008991, allocations: 136.2 kB / 0.7945 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003804/0.009372, allocations: 358.5 kB / 0.7948 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.009377, allocations: 5.656 kB / 0.7948 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.122e-06/0.009378, allocations: 0 / 0.7948 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.009385, allocations: 0 / 0.7948 GB, free: 5.535 MB / 0.7448 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.0008553/0.01024, allocations: 0.8329 MB / 0.7956 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.01028, allocations: 12.03 kB / 0.7956 GB, free: 4.656 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002493/0.01053, allocations: 108.5 kB / 0.7957 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.01115, allocations: 494.5 kB / 0.7962 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.01117, allocations: 17.03 kB / 0.7962 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.01122, allocations: 40.33 kB / 0.7963 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006685/0.01189, allocations: 345.1 kB / 0.7966 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.0119, allocations: 4.656 kB / 0.7966 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.01192, allocations: 13.28 kB / 0.7966 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.01193, allocations: 11.94 kB / 0.7966 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.01206, allocations: 93.75 kB / 0.7967 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0011/0.01316, allocations: 1.487 MB / 0.7982 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.01344, allocations: 156.4 kB / 0.7983 GB, free: 1.777 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.01355, allocations: 75.62 kB / 0.7984 GB, free: 1.699 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.01357, allocations: 4.562 kB / 0.7984 GB, free: 1.695 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.0136, allocations: 38.8 kB / 0.7984 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.084e-06/0.0136, allocations: 0 / 0.7984 GB, free: 1.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0003147/0.01391, allocations: 197.1 kB / 0.7986 GB, free: 1.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.01395, allocations: 55.94 kB / 0.7987 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.01425, allocations: 441.8 kB / 0.7991 GB, free: 0.9336 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.01426, allocations: 33.7 kB / 0.7991 GB, free: 0.8945 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.01442, allocations: 299.2 kB / 0.7994 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.624e-05/0.01447, allocations: 87.22 kB / 0.7995 GB, free: 0.5117 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.153e-05/0.01454, allocations: 67.59 kB / 0.7996 GB, free: 444 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001703/0.01471, allocations: 0.5312 MB / 0.8001 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.18e-05/0.01476, allocations: 24.55 kB / 0.8001 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.762e-05/0.01486, allocations: 126.2 kB / 0.8002 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.01502, allocations: 167.1 kB / 0.8004 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01502, allocations: 0 / 0.8004 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002473/0.01527, allocations: 231 kB / 0.8006 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.01529, allocations: 4 kB / 0.8006 GB, free: 15.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.01529, allocations: 5.125 kB / 0.8006 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.01531, allocations: 7.984 kB / 0.8006 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.01545, allocations: 55.91 kB / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.01546, allocations: 4.531 kB / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.342e-05/0.01554, allocations: 24.66 kB / 0.8007 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.01556, allocations: 15.98 kB / 0.8007 GB, free: 15.17 MB / 0.7605 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.0001167/0.01567, allocations: 177.4 kB / 0.8009 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.345e-05/0.01573, allocations: 59.61 kB / 0.8009 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.01579, allocations: 45.39 kB / 0.801 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.01579, allocations: 7.984 kB / 0.801 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01579, allocations: 0.9688 kB / 0.801 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.0158, allocations: 3.938 kB / 0.801 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.01605, allocations: 245 kB / 0.8012 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.01605, allocations: 2.312 kB / 0.8012 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.01618, allocations: 51.91 kB / 0.8013 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.01619, allocations: 3.938 kB / 0.8013 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.326e-05/0.0162, allocations: 4 kB / 0.8013 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.0162, allocations: 4 kB / 0.8013 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.0162, allocations: 0.875 kB / 0.8013 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003316/0.01653, allocations: 356.5 kB / 0.8016 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.332e-05/0.01662, allocations: 71.58 kB / 0.8017 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.813e-05/0.01665, allocations: 7.938 kB / 0.8017 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.01672, allocations: 17.11 kB / 0.8017 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.022e-05/0.01676, allocations: 11.97 kB / 0.8017 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.015e-05/0.01677, allocations: 8 kB / 0.8017 GB, free: 14.06 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001567/0.01693, allocations: 280 kB / 0.802 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.01693, allocations: 0 / 0.802 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002268/0.01716, allocations: 67.78 kB / 0.8021 GB, free: 13.73 MB / 0.7605 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.0001025/0.01726, allocations: 108.6 kB / 0.8022 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001835/0.01744, allocations: 121.3 kB / 0.8023 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01745, allocations: 0 / 0.8023 GB, free: 13.49 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.01752, allocations: 76.11 kB / 0.8024 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.01793, allocations: 133.8 kB / 0.8025 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.01895, allocations: 0.6845 MB / 0.8032 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/0.01931, allocations: 101.3 kB / 0.8033 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.000141/0.01945, allocations: 55.36 kB / 0.8033 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001688/0.01962, allocations: 154.1 kB / 0.8035 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of SimCode: time 1.062e-06/0.01962, allocations: 0 / 0.8035 GB, free: 12.26 MB / 0.7605 GB Notification: Performance of Templates: time 0.007367/0.02699, allocations: 4.481 MB / 0.8078 GB, free: 7.906 MB / 0.7605 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: 5.027152132242918]