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.0008756/0.0008756, allocations: 80.48 kB / 19.93 MB, free: 4.629 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.001462/0.001462, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9197/0.9197, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.754/1.754, allocations: 377.9 MB / 0.6228 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] 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 2.504e-06/2.504e-06, allocations: 0 / 0.9822 GB, free: 2.07 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.819e-05/3.07e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001731/0.001762, allocations: 1.096 MB / 0.9833 GB, free: 0.9766 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001526/0.003287, allocations: 1.4 MB / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.604e-05/0.003374, allocations: 0 / 0.9846 GB, free: 15.56 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 4.965e-05/0.003423, allocations: 27.67 kB / 0.9846 GB, free: 15.54 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.003539, allocations: 55.53 kB / 0.9847 GB, free: 15.48 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005767/0.004116, allocations: 291.6 kB / 0.985 GB, free: 15.2 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0003039/0.00442, allocations: 411.7 kB / 0.9854 GB, free: 14.8 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.004588, allocations: 80.84 kB / 0.9854 GB, free: 14.71 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.004774, allocations: 235.6 kB / 0.9857 GB, free: 14.48 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.00492, allocations: 115.6 kB / 0.9858 GB, free: 14.37 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.004965, allocations: 52 kB / 0.9858 GB, free: 14.32 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.841e-05/0.005043, allocations: 55.98 kB / 0.9859 GB, free: 14.27 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.407e-05/0.005087, allocations: 63.77 kB / 0.9859 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.005181, allocations: 119.7 kB / 0.9861 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.005579, allocations: 0.5296 MB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005583, allocations: 4 kB / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.403e-06/0.005584, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.005589, allocations: 0 / 0.9866 GB, free: 13.55 MB / 0.948 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.0006431/0.006232, allocations: 0.5356 MB / 0.9871 GB, free: 12.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.006267, allocations: 12.03 kB / 0.9871 GB, free: 12.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.759e-05/0.006335, allocations: 36.75 kB / 0.9872 GB, free: 12.93 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.006778, allocations: 273 kB / 0.9874 GB, free: 12.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.006801, allocations: 16.38 kB / 0.9874 GB, free: 12.62 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.006835, allocations: 28.38 kB / 0.9875 GB, free: 12.59 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.007043, allocations: 178.7 kB / 0.9876 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.007052, allocations: 192 / 0.9876 GB, free: 12.41 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.007067, allocations: 8.375 kB / 0.9876 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.007075, allocations: 11.94 kB / 0.9876 GB, free: 12.39 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.007217, allocations: 111.9 kB / 0.9877 GB, free: 12.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006304/0.007847, allocations: 0.5313 MB / 0.9883 GB, free: 11.71 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.00814, allocations: 154.7 kB / 0.9884 GB, free: 11.55 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.43e-05/0.008214, allocations: 60.83 kB / 0.9885 GB, free: 11.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.008229, allocations: 11.98 kB / 0.9885 GB, free: 11.48 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/0.008456, allocations: 137.6 kB / 0.9886 GB, free: 11.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.008458, allocations: 0 / 0.9886 GB, free: 11.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=20): time 0.0003231/0.008781, allocations: 217.5 kB / 0.9888 GB, free: 11.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.008817, allocations: 51.41 kB / 0.9889 GB, free: 11.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001401/0.008958, allocations: 216.2 kB / 0.9891 GB, free: 10.83 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.00899, allocations: 37.7 kB / 0.9891 GB, free: 10.79 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.92e-05/0.009069, allocations: 148.6 kB / 0.9893 GB, free: 10.64 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.342e-05/0.009103, allocations: 47.86 kB / 0.9893 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.838e-05/0.009191, allocations: 77.67 kB / 0.9894 GB, free: 10.51 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/0.009279, allocations: 338.8 kB / 0.9897 GB, free: 10.17 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.009448, allocations: 167.2 kB / 0.9899 GB, free: 9.996 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.009656, allocations: 311.2 kB / 0.9902 GB, free: 9.637 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003394/0.009996, allocations: 209.6 kB / 0.9904 GB, free: 9.406 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.01, allocations: 3.984 kB / 0.9904 GB, free: 9.402 MB / 0.948 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004125/0.01041, allocations: 431.7 kB / 0.9908 GB, free: 8.953 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.01046, allocations: 63.39 kB / 0.9908 GB, free: 8.879 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.01046, allocations: 4 kB / 0.9908 GB, free: 8.875 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.01048, allocations: 3.938 kB / 0.9908 GB, free: 8.871 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.01053, allocations: 20 kB / 0.9909 GB, free: 8.852 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.01054, allocations: 11.86 kB / 0.9909 GB, free: 8.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.01075, allocations: 83.83 kB / 0.991 GB, free: 8.758 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.01077, allocations: 15.98 kB / 0.991 GB, free: 8.742 MB / 0.948 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.0001118/0.01088, allocations: 147.8 kB / 0.9911 GB, free: 8.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.904e-05/0.0109, allocations: 19.84 kB / 0.9911 GB, free: 8.57 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.01095, allocations: 25.8 kB / 0.9911 GB, free: 8.543 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.01095, allocations: 4 kB / 0.9912 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01096, allocations: 0 / 0.9912 GB, free: 8.539 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.01096, allocations: 7.938 kB / 0.9912 GB, free: 8.531 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001473/0.01111, allocations: 205.1 kB / 0.9914 GB, free: 8.301 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.01111, allocations: 3.938 kB / 0.9914 GB, free: 8.297 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.936e-05/0.01115, allocations: 19.98 kB / 0.9914 GB, free: 8.277 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.01115, allocations: 0 / 0.9914 GB, free: 8.277 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/0.01116, allocations: 8 kB / 0.9914 GB, free: 8.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01116, allocations: 0 / 0.9914 GB, free: 8.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.01117, allocations: 0 / 0.9914 GB, free: 8.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.01136, allocations: 207.2 kB / 0.9916 GB, free: 8.051 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.01138, allocations: 15.91 kB / 0.9916 GB, free: 8.035 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.0114, allocations: 4 kB / 0.9916 GB, free: 8.031 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.555e-05/0.01145, allocations: 19.98 kB / 0.9916 GB, free: 8.012 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.829e-05/0.01152, allocations: 31.94 kB / 0.9917 GB, free: 7.98 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.01153, allocations: 8 kB / 0.9917 GB, free: 7.973 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.465e-05/0.01161, allocations: 151.1 kB / 0.9918 GB, free: 7.824 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01161, allocations: 0 / 0.9918 GB, free: 7.824 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001915/0.0118, allocations: 71.83 kB / 0.9919 GB, free: 7.754 MB / 0.948 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.0001377/0.01194, allocations: 111.8 kB / 0.992 GB, free: 7.637 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.01229, allocations: 378 kB / 0.9923 GB, free: 7.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.01229, allocations: 0 / 0.9923 GB, free: 7.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.225e-05/0.01237, allocations: 67.91 kB / 0.9924 GB, free: 7.164 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.01259, allocations: 46.16 kB / 0.9924 GB, free: 7.121 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004993/0.01309, allocations: 391.3 kB / 0.9928 GB, free: 6.707 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.082e-05/0.01317, allocations: 142.1 kB / 0.993 GB, free: 6.551 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.132e-05/0.01322, allocations: 28.5 kB / 0.993 GB, free: 6.523 MB / 0.948 GB Notification: Performance of SimCode: time 6.71e-07/0.01322, allocations: 3.938 kB / 0.993 GB, free: 6.52 MB / 0.948 GB Notification: Performance of Templates: time 0.003928/0.01715, allocations: 3.381 MB / 0.9963 GB, free: 3.156 MB / 0.948 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: 6.7493425430729985]