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.001482/0.001482, allocations: 73.88 kB / 20.66 MB, free: 3.844 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.002048/0.002048, allocations: 169 kB / 24.06 MB, free: 456 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.9648/0.9648, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 2.084/2.084, allocations: 429.5 MB / 0.6743 GB, free: 3.871 MB / 0.6355 GB " [Timeout remaining time 177] 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 2.244e-06/2.244e-06, allocations: 0 / 0.8794 GB, free: 5.992 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.032e-05/2.256e-05, allocations: 4.984 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002422/0.002444, allocations: 1.129 MB / 0.8805 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002069/0.004513, allocations: 1.419 MB / 0.8819 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.004642, allocations: 4 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 6.69e-05/0.004709, allocations: 24.64 kB / 0.8819 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.004874, allocations: 59.45 kB / 0.882 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007222/0.005596, allocations: 284.6 kB / 0.8822 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004778/0.006074, allocations: 419.1 kB / 0.8826 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.006276, allocations: 89.38 kB / 0.8827 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003531/0.006629, allocations: 247.5 kB / 0.8829 GB, free: 2.352 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001928/0.006822, allocations: 107.6 kB / 0.883 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.592e-05/0.006878, allocations: 36 kB / 0.8831 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.439e-05/0.006972, allocations: 51.98 kB / 0.8831 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 5.431e-05/0.007026, allocations: 52.33 kB / 0.8832 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.007139, allocations: 112.3 kB / 0.8833 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.00748, allocations: 263.1 kB / 0.8835 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.007482, allocations: 1 kB / 0.8835 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.91e-07/0.007483, allocations: 0 / 0.8835 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.007487, allocations: 0 / 0.8835 GB, free: 1.742 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.0007539/0.008241, allocations: 0.6376 MB / 0.8842 GB, free: 1.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.008279, allocations: 12.03 kB / 0.8842 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.657e-05/0.008376, allocations: 44.75 kB / 0.8842 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.00868, allocations: 240.1 kB / 0.8844 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.008713, allocations: 21.34 kB / 0.8845 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.643e-05/0.008759, allocations: 24.38 kB / 0.8845 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.008959, allocations: 139.5 kB / 0.8846 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.477e-06/0.008968, allocations: 192 / 0.8846 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.008987, allocations: 16.36 kB / 0.8846 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.008997, allocations: 8.125 kB / 0.8846 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.848e-05/0.009096, allocations: 52.62 kB / 0.8847 GB, free: 492 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.009873, allocations: 0.5506 MB / 0.8852 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.01019, allocations: 122.1 kB / 0.8854 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.808e-05/0.01026, allocations: 43.66 kB / 0.8854 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.01027, allocations: 11.94 kB / 0.8854 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.01044, allocations: 114.3 kB / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.01045, allocations: 0 / 0.8855 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0003121/0.01076, allocations: 167.7 kB / 0.8857 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.0108, allocations: 63.36 kB / 0.8857 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.01097, allocations: 253.5 kB / 0.886 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.342e-05/0.01102, allocations: 37.7 kB / 0.886 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.01113, allocations: 199.5 kB / 0.8862 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.826e-05/0.01118, allocations: 51.61 kB / 0.8863 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.01131, allocations: 83.3 kB / 0.8863 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.01146, allocations: 0.5079 MB / 0.8868 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.0116, allocations: 115.4 kB / 0.8869 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.01181, allocations: 286.8 kB / 0.8872 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002057/0.01201, allocations: 198.9 kB / 0.8874 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01202, allocations: 0 / 0.8874 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000495/0.01251, allocations: 364.2 kB / 0.8877 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.01257, allocations: 69.73 kB / 0.8878 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.01257, allocations: 8 kB / 0.8878 GB, free: 13.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.01258, allocations: 3.938 kB / 0.8878 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.125e-05/0.01266, allocations: 19.98 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.01266, allocations: 4 kB / 0.8878 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002458/0.01291, allocations: 63.8 kB / 0.8879 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.283e-05/0.01294, allocations: 15.98 kB / 0.8879 GB, free: 12.9 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.0001306/0.01307, allocations: 186.5 kB / 0.8881 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.01311, allocations: 27.91 kB / 0.8881 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.799e-05/0.01316, allocations: 25.8 kB / 0.8882 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01316, allocations: 0 / 0.8882 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.01316, allocations: 0 / 0.8882 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.01317, allocations: 4 kB / 0.8882 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001734/0.01334, allocations: 177 kB / 0.8883 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.01334, allocations: 4 kB / 0.8883 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.0134, allocations: 15.94 kB / 0.8883 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.0134, allocations: 4 kB / 0.8883 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.01341, allocations: 7.984 kB / 0.8884 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.01342, allocations: 0 / 0.8884 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01342, allocations: 0 / 0.8884 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.01364, allocations: 185.5 kB / 0.8885 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.721e-05/0.01366, allocations: 23.84 kB / 0.8886 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.01369, allocations: 4 kB / 0.8886 GB, free: 12.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.173e-05/0.01375, allocations: 15.98 kB / 0.8886 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.01382, allocations: 35.92 kB / 0.8886 GB, free: 12.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.01384, allocations: 11.98 kB / 0.8886 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.614e-05/0.01392, allocations: 168.3 kB / 0.8888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01392, allocations: 0 / 0.8888 GB, free: 11.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003072/0.01423, allocations: 63.84 kB / 0.8888 GB, free: 11.91 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.0001579/0.01439, allocations: 112.1 kB / 0.8889 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002841/0.01467, allocations: 338.3 kB / 0.8893 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01467, allocations: 3.938 kB / 0.8893 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.01474, allocations: 65.47 kB / 0.8893 GB, free: 11.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.01493, allocations: 39.91 kB / 0.8894 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003896/0.01532, allocations: 362.8 kB / 0.8897 GB, free: 10.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.033e-05/0.01536, allocations: 76.33 kB / 0.8898 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.554e-05/0.01542, allocations: 26.02 kB / 0.8898 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.01557, allocations: 130.1 kB / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of SimCode: time 5.91e-07/0.01557, allocations: 4 kB / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of Templates: time 0.005315/0.02089, allocations: 4.115 MB / 0.894 GB, free: 6.621 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","",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.275578332133591]