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.001746/0.001746, allocations: 92.7 kB / 19.44 MB, free: 324 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.002407/0.002407, allocations: 161.3 kB / 22.75 MB, free: 1.656 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.57/1.57, allocations: 177.1 MB / 203.1 MB, free: 5.617 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.314/3.314, allocations: 429.6 MB / 0.673 GB, free: 3.871 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=0,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=0,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.334e-06/2.334e-06, allocations: 0 / 0.8776 GB, free: 6.52 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.658e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.516 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003285/0.003321, allocations: 1.104 MB / 0.8787 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002628/0.005949, allocations: 1.402 MB / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.00613, allocations: 0 / 0.88 GB, free: 4.027 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.853e-05/0.006219, allocations: 23.67 kB / 0.88 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.006474, allocations: 57.19 kB / 0.8801 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009526/0.007427, allocations: 287.3 kB / 0.8804 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007584/0.008185, allocations: 412.2 kB / 0.8808 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002902/0.008475, allocations: 82.53 kB / 0.8808 GB, free: 3.18 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005448/0.00902, allocations: 235.6 kB / 0.8811 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003144/0.009334, allocations: 119.6 kB / 0.8812 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.000137/0.009471, allocations: 44 kB / 0.8812 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000165/0.009637, allocations: 56.5 kB / 0.8813 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.009739, allocations: 63.75 kB / 0.8813 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002037/0.009942, allocations: 117.1 kB / 0.8815 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008697/0.01081, allocations: 0.5219 MB / 0.882 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.01082, allocations: 0 / 0.882 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.763e-06/0.01082, allocations: 0.5 kB / 0.882 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.01084, allocations: 4 kB / 0.882 GB, free: 2.031 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.001569/0.01241, allocations: 0.5445 MB / 0.8825 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.01245, allocations: 9.625 kB / 0.8825 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.01264, allocations: 48.8 kB / 0.8826 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008117/0.01345, allocations: 267.1 kB / 0.8828 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.758e-05/0.0135, allocations: 20.36 kB / 0.8828 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.026e-05/0.01357, allocations: 32.36 kB / 0.8829 GB, free: 1.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003719/0.01394, allocations: 166.1 kB / 0.883 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.01396, allocations: 6.984 kB / 0.883 GB, free: 0.8828 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.01398, allocations: 8.375 kB / 0.883 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.014, allocations: 7.938 kB / 0.883 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002628/0.01426, allocations: 108.7 kB / 0.8831 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.01545, allocations: 0.5436 MB / 0.8837 GB, free: 188 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.01594, allocations: 160.1 kB / 0.8838 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.0161, allocations: 64.83 kB / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.01613, allocations: 4 kB / 0.8839 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003752/0.0165, allocations: 135.3 kB / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=20): time 2.294e-06/0.01651, allocations: 3.938 kB / 0.884 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=20): time 0.0005752/0.01708, allocations: 232 kB / 0.8842 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.01714, allocations: 55.41 kB / 0.8843 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.01744, allocations: 215.2 kB / 0.8845 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.844e-05/0.0175, allocations: 33.7 kB / 0.8845 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.01765, allocations: 148.5 kB / 0.8847 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/0.01772, allocations: 51.62 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000172/0.01789, allocations: 77.67 kB / 0.8848 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.0181, allocations: 334.8 kB / 0.8851 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/0.01841, allocations: 159.4 kB / 0.8853 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.01883, allocations: 313.3 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003689/0.0192, allocations: 216.4 kB / 0.8858 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.01921, allocations: 0 / 0.8858 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008208/0.02003, allocations: 440.1 kB / 0.8862 GB, free: 13.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.0201, allocations: 71.53 kB / 0.8863 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.02011, allocations: 4 kB / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/0.02015, allocations: 4 kB / 0.8863 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.547e-05/0.02025, allocations: 19.92 kB / 0.8863 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.02026, allocations: 3.938 kB / 0.8863 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004331/0.02069, allocations: 75.81 kB / 0.8864 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.02073, allocations: 23.98 kB / 0.8864 GB, free: 13.19 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.000197/0.02093, allocations: 147.8 kB / 0.8865 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.02099, allocations: 31.89 kB / 0.8866 GB, free: 13 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.534e-05/0.02106, allocations: 29.8 kB / 0.8866 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.02106, allocations: 0 / 0.8866 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.02107, allocations: 0 / 0.8866 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.02107, allocations: 7.875 kB / 0.8866 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.02135, allocations: 209.2 kB / 0.8868 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02136, allocations: 0 / 0.8868 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.02143, allocations: 12 kB / 0.8868 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.02143, allocations: 0 / 0.8868 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.02145, allocations: 11.98 kB / 0.8868 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.02146, allocations: 0 / 0.8868 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.02146, allocations: 0 / 0.8868 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.02183, allocations: 214.4 kB / 0.887 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.567e-05/0.02187, allocations: 19.8 kB / 0.887 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.02191, allocations: 8 kB / 0.8871 GB, free: 12.46 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001178/0.02203, allocations: 15.98 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.02214, allocations: 35.94 kB / 0.8871 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.02215, allocations: 4 kB / 0.8871 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001548/0.02231, allocations: 152.3 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02231, allocations: 0 / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003246/0.02263, allocations: 59.89 kB / 0.8873 GB, free: 12.2 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.00022/0.02285, allocations: 116.1 kB / 0.8874 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0006439/0.02349, allocations: 378 kB / 0.8878 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.0235, allocations: 0 / 0.8878 GB, free: 11.67 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001495/0.02365, allocations: 71.89 kB / 0.8879 GB, free: 11.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.02403, allocations: 54.17 kB / 0.8879 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.02488, allocations: 387.3 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001821/0.02506, allocations: 138.4 kB / 0.8884 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001073/0.02517, allocations: 21.95 kB / 0.8884 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.327e-05/0.02525, allocations: 28.48 kB / 0.8885 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of SimCode: time 4.2e-07/0.02525, allocations: 0 / 0.8885 GB, free: 10.94 MB / 0.8542 GB Notification: Performance of Templates: time 0.009987/0.03524, allocations: 3.766 MB / 0.8921 GB, free: 7.246 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 800] 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.604718843009323]