Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.002542/0.002542, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.003181/0.003181, allocations: 169.6 kB / 22.76 MB, free: 1.664 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 1.564/1.564, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.427/3.427, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8774 GB, free: 6.652 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.755e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002495/0.002523, allocations: 1.126 MB / 0.8785 GB, free: 5.551 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.004924, allocations: 1.398 MB / 0.8799 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.005023, allocations: 4 kB / 0.8799 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.158e-05/0.005084, allocations: 23.67 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001774/0.005261, allocations: 53.03 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.005991, allocations: 292.4 kB / 0.8803 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005393/0.006531, allocations: 411.7 kB / 0.8807 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.006737, allocations: 86.09 kB / 0.8807 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.007045, allocations: 227.6 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.007282, allocations: 123.6 kB / 0.8811 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.572e-05/0.007368, allocations: 45.09 kB / 0.8811 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.007495, allocations: 55.98 kB / 0.8812 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.27e-05/0.007568, allocations: 59.77 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.007742, allocations: 128.4 kB / 0.8813 GB, free: 2.66 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0006486/0.00839, allocations: 0.518 MB / 0.8819 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.008393, allocations: 2.188 kB / 0.8819 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/0.008394, allocations: 0 / 0.8819 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.0084, allocations: 0 / 0.8819 GB, free: 2.141 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001171/0.009571, allocations: 0.6546 MB / 0.8825 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.009621, allocations: 8.031 kB / 0.8825 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.009765, allocations: 52.14 kB / 0.8826 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006915/0.01046, allocations: 268.2 kB / 0.8828 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.01049, allocations: 20.38 kB / 0.8828 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.01055, allocations: 28.31 kB / 0.8829 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.01087, allocations: 166.1 kB / 0.883 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.01089, allocations: 4.188 kB / 0.883 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.01091, allocations: 9.234 kB / 0.883 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.01092, allocations: 7.938 kB / 0.883 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002383/0.01116, allocations: 108.7 kB / 0.8831 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.01228, allocations: 0.6592 MB / 0.8838 GB, free: 60 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004785/0.01276, allocations: 175.9 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.01289, allocations: 75.09 kB / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.01291, allocations: 0 / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000267/0.01318, allocations: 145.4 kB / 0.8842 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.202e-06/0.01318, allocations: 0 / 0.8842 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0005463/0.01372, allocations: 231.3 kB / 0.8844 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.01379, allocations: 55.41 kB / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.01412, allocations: 313.5 kB / 0.8847 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.01418, allocations: 37.7 kB / 0.8848 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.01437, allocations: 196 kB / 0.885 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.726e-05/0.01444, allocations: 60.94 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.01461, allocations: 99.33 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003002/0.01491, allocations: 0.5196 MB / 0.8856 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.01521, allocations: 179.9 kB / 0.8858 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006949/0.01591, allocations: 359.7 kB / 0.8861 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003651/0.01627, allocations: 244.1 kB / 0.8864 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01628, allocations: 0 / 0.8864 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007472/0.01702, allocations: 468.1 kB / 0.8868 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.637e-05/0.01709, allocations: 63.41 kB / 0.8869 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.0171, allocations: 4 kB / 0.8869 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01711, allocations: 0 / 0.8869 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.407e-05/0.0172, allocations: 19.98 kB / 0.8869 GB, free: 12.63 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/0.01722, allocations: 7.875 kB / 0.8869 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.01754, allocations: 63.97 kB / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-05/0.01758, allocations: 19.98 kB / 0.887 GB, free: 12.54 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001953/0.01778, allocations: 190.6 kB / 0.8872 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.01783, allocations: 35.78 kB / 0.8872 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.86e-05/0.0179, allocations: 21.81 kB / 0.8872 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.0179, allocations: 4 kB / 0.8872 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.0179, allocations: 7.938 kB / 0.8872 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.01792, allocations: 11.95 kB / 0.8872 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003165/0.01823, allocations: 248.4 kB / 0.8875 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01823, allocations: 0 / 0.8875 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.951e-05/0.0183, allocations: 12 kB / 0.8875 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.0183, allocations: 0 / 0.8875 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.01832, allocations: 7.984 kB / 0.8875 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.01833, allocations: 4 kB / 0.8875 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01833, allocations: 0 / 0.8875 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003621/0.01869, allocations: 226 kB / 0.8877 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.01872, allocations: 15.86 kB / 0.8877 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.01876, allocations: 12 kB / 0.8877 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.281e-05/0.01884, allocations: 15.98 kB / 0.8878 GB, free: 11.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/0.01893, allocations: 27.94 kB / 0.8878 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.01895, allocations: 12 kB / 0.8878 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001974/0.01915, allocations: 208 kB / 0.888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01915, allocations: 0 / 0.888 GB, free: 11.44 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002777/0.01943, allocations: 55.89 kB / 0.888 GB, free: 11.38 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002007/0.01963, allocations: 116.1 kB / 0.8882 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000669/0.0203, allocations: 446.1 kB / 0.8886 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.0203, allocations: 4 kB / 0.8886 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.02046, allocations: 89.48 kB / 0.8887 GB, free: 10.69 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.02077, allocations: 48.09 kB / 0.8887 GB, free: 10.64 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.02152, allocations: 398.7 kB / 0.8891 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.02166, allocations: 134.2 kB / 0.8892 GB, free: 10.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.359e-05/0.02174, allocations: 21.95 kB / 0.8892 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.261e-05/0.02182, allocations: 28.48 kB / 0.8893 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.02182, allocations: 0 / 0.8893 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of Templates: time 0.009007/0.03082, allocations: 3.766 MB / 0.893 GB, free: 6.336 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.663690747926012]