Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001856/0.001856, allocations: 80.22 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002411/0.002411, allocations: 167.1 kB / 22.46 MB, free: 5.379 MB / 14.72 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.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.004/3.004, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=0,variableFilter="time|zonSta.yZonSta|zonSta.uHea|zonSta.uCoo",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.367e-06/3.367e-06, allocations: 0 / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.942e-05/3.278e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002464/0.002497, allocations: 1.079 MB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002492/0.004989, allocations: 1.408 MB / 0.9838 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.005189, allocations: 4 kB / 0.9839 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.005295, allocations: 23.67 kB / 0.9839 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001943/0.005489, allocations: 55.53 kB / 0.9839 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.006388, allocations: 291 kB / 0.9842 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.006893, allocations: 419.7 kB / 0.9846 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.007121, allocations: 80.84 kB / 0.9847 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.007438, allocations: 235.6 kB / 0.9849 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.00768, allocations: 123.6 kB / 0.985 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.143e-05/0.007762, allocations: 44 kB / 0.9851 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.007887, allocations: 59.98 kB / 0.9851 GB, free: 8.18 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.1e-05/0.007958, allocations: 59.77 kB / 0.9852 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001816/0.008139, allocations: 119.7 kB / 0.9853 GB, free: 8.004 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006334/0.008773, allocations: 0.5297 MB / 0.9858 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.008777, allocations: 0 / 0.9858 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/0.008778, allocations: 0 / 0.9858 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.008784, allocations: 0 / 0.9858 GB, free: 7.473 MB / 0.9356 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.0009754/0.00976, allocations: 0.5414 MB / 0.9863 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.009806, allocations: 12.03 kB / 0.9864 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.009913, allocations: 36.75 kB / 0.9864 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007193/0.01063, allocations: 273.1 kB / 0.9866 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.771e-05/0.01067, allocations: 16.38 kB / 0.9867 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.01073, allocations: 28.38 kB / 0.9867 GB, free: 6.508 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.01107, allocations: 174.1 kB / 0.9869 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.01108, allocations: 4.188 kB / 0.9869 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.0111, allocations: 4.375 kB / 0.9869 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.01111, allocations: 7.938 kB / 0.9869 GB, free: 6.316 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.01135, allocations: 115.9 kB / 0.987 GB, free: 6.203 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.01237, allocations: 0.5352 MB / 0.9875 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004555/0.01282, allocations: 158.7 kB / 0.9877 GB, free: 5.469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001327/0.01296, allocations: 64.83 kB / 0.9877 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.01298, allocations: 0 / 0.9877 GB, free: 5.402 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/0.0133, allocations: 135.3 kB / 0.9878 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=20): time 1.522e-06/0.01331, allocations: 0 / 0.9878 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20): time 0.0004864/0.01379, allocations: 224 kB / 0.9881 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.906e-05/0.01385, allocations: 55.41 kB / 0.9881 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.0141, allocations: 212.2 kB / 0.9883 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.01416, allocations: 41.69 kB / 0.9884 GB, free: 4.703 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/0.01429, allocations: 140.6 kB / 0.9885 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.01434, allocations: 55.86 kB / 0.9885 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001405/0.01448, allocations: 77.67 kB / 0.9886 GB, free: 4.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.01465, allocations: 334.8 kB / 0.9889 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.0149, allocations: 167.3 kB / 0.9891 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.01526, allocations: 307.3 kB / 0.9894 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003001/0.01556, allocations: 213.8 kB / 0.9896 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01556, allocations: 0 / 0.9896 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007084/0.01627, allocations: 436.7 kB / 0.99 GB, free: 2.867 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.19e-05/0.01633, allocations: 59.41 kB / 0.9901 GB, free: 2.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.01634, allocations: 3.984 kB / 0.9901 GB, free: 2.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.01636, allocations: 4 kB / 0.9901 GB, free: 2.789 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.366e-05/0.01645, allocations: 19.94 kB / 0.9901 GB, free: 2.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.01646, allocations: 7.938 kB / 0.9901 GB, free: 2.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.01687, allocations: 87.88 kB / 0.9902 GB, free: 2.676 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.633e-05/0.01691, allocations: 12 kB / 0.9902 GB, free: 2.664 MB / 0.9356 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.0001884/0.0171, allocations: 159.8 kB / 0.9903 GB, free: 2.5 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.01713, allocations: 15.91 kB / 0.9904 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.845e-05/0.0172, allocations: 21.81 kB / 0.9904 GB, free: 2.461 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.0172, allocations: 4 kB / 0.9904 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.01721, allocations: 4 kB / 0.9904 GB, free: 2.453 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.01722, allocations: 7.922 kB / 0.9904 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002554/0.01748, allocations: 209.1 kB / 0.9906 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.01748, allocations: 0 / 0.9906 GB, free: 2.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.455e-05/0.01754, allocations: 12 kB / 0.9906 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.01755, allocations: 0 / 0.9906 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.01756, allocations: 7.984 kB / 0.9906 GB, free: 2.191 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01757, allocations: 4 kB / 0.9906 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01757, allocations: 0 / 0.9906 GB, free: 2.188 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.01788, allocations: 204.8 kB / 0.9908 GB, free: 1.969 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.01791, allocations: 11.91 kB / 0.9908 GB, free: 1.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.01795, allocations: 12 kB / 0.9908 GB, free: 1.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.01803, allocations: 15.98 kB / 0.9909 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.389e-05/0.01813, allocations: 35.94 kB / 0.9909 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.01815, allocations: 8 kB / 0.9909 GB, free: 1.887 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001555/0.0183, allocations: 151.1 kB / 0.991 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0183, allocations: 0 / 0.991 GB, free: 1.738 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003021/0.0186, allocations: 67.84 kB / 0.9911 GB, free: 1.672 MB / 0.9356 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.0002076/0.01881, allocations: 119.2 kB / 0.9912 GB, free: 1.547 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005648/0.01938, allocations: 370.1 kB / 0.9916 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01938, allocations: 0 / 0.9916 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001324/0.01951, allocations: 70.48 kB / 0.9916 GB, free: 1.082 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.01985, allocations: 40.11 kB / 0.9917 GB, free: 1.043 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007353/0.02059, allocations: 370.8 kB / 0.992 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.02072, allocations: 130.2 kB / 0.9922 GB, free: 0.5117 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.295e-05/0.02081, allocations: 25.94 kB / 0.9922 GB, free: 492 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.484e-05/0.02088, allocations: 32.48 kB / 0.9922 GB, free: 460 kB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.02088, allocations: 0 / 0.9922 GB, free: 460 kB / 0.9356 GB Notification: Performance of Templates: time 0.008877/0.02976, allocations: 3.756 MB / 0.9959 GB, free: 12.77 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.390867996960878]