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.001322/0.001322, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001437/0.001437, allocations: 215 kB / 22.99 MB, free: 4.945 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.161/3.161, allocations: 0.4892 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 64.16 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.307, allocations: 176.1 MB / 1.326 GB, free: 1.906 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002641/0.3096, allocations: 1.08 MB / 1.327 GB, free: 0.832 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.3117, allocations: 1.4 MB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.3118, allocations: 0 / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 7.111e-05/0.3119, allocations: 23.67 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001633/0.312, allocations: 47.66 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008296/0.3129, allocations: 299.3 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005471/0.3134, allocations: 407.8 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.3136, allocations: 84.78 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002381/0.3139, allocations: 163.5 kB / 1.33 GB, free: 14.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3141, allocations: 139.3 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.815e-05/0.3142, allocations: 48 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.3143, allocations: 55.92 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.949e-05/0.3144, allocations: 63.84 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001566/0.3146, allocations: 135.4 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005945/0.3152, allocations: 494.2 kB / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.3152, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3152, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.3152, allocations: 0 / 1.331 GB, free: 13.48 MB / 1.029 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.001009/0.3162, allocations: 0.5443 MB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.3162, allocations: 8.031 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.3163, allocations: 36.8 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.317, allocations: 269.9 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.582e-05/0.3171, allocations: 24.38 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.431e-05/0.3171, allocations: 24.38 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.3174, allocations: 178.5 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3175, allocations: 0 / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.3175, allocations: 11.98 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.3175, allocations: 4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3177, allocations: 115.9 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009764/0.3187, allocations: 0.5429 MB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.3191, allocations: 153.1 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001145/0.3192, allocations: 61.11 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.3193, allocations: 11.88 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003031/0.3196, allocations: 131.3 kB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.3196, allocations: 0 / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004727/0.32, allocations: 223.3 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/0.3201, allocations: 59.41 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.3203, allocations: 214.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.135e-05/0.3204, allocations: 37.7 kB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.3205, allocations: 144.6 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.345e-05/0.3206, allocations: 51.58 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.3207, allocations: 77.67 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.3209, allocations: 330.8 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002573/0.3211, allocations: 163.3 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.3215, allocations: 312.9 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.3218, allocations: 209.2 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.3218, allocations: 4 kB / 1.334 GB, free: 9.332 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006429/0.3224, allocations: 427.7 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.118e-05/0.3225, allocations: 71.39 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3225, allocations: 128 / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3225, allocations: 11.94 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.04e-05/0.3226, allocations: 15.94 kB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3226, allocations: 3.984 kB / 1.335 GB, free: 8.773 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.323, allocations: 79.8 kB / 1.335 GB, free: 8.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.3231, allocations: 16 kB / 1.335 GB, free: 8.68 MB / 1.029 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.0001808/0.3232, allocations: 156 kB / 1.335 GB, free: 8.516 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.3233, allocations: 19.86 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.3233, allocations: 25.75 kB / 1.335 GB, free: 8.473 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3233, allocations: 11.92 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3233, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3233, allocations: 4.031 kB / 1.335 GB, free: 8.457 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.3236, allocations: 209.1 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3236, allocations: 0 / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-05/0.3237, allocations: 27.92 kB / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3237, allocations: 0 / 1.335 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.3237, allocations: 4 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3237, allocations: 3.938 kB / 1.335 GB, free: 8.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3237, allocations: 4 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.324, allocations: 202.8 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.197e-05/0.324, allocations: 15.86 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.3241, allocations: 8 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.522e-05/0.3242, allocations: 11.92 kB / 1.336 GB, free: 7.934 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.83e-05/0.3242, allocations: 35.94 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.206e-05/0.3243, allocations: 12 kB / 1.336 GB, free: 7.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001287/0.3244, allocations: 144.4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3244, allocations: 3.938 kB / 1.336 GB, free: 7.742 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003065/0.3247, allocations: 67.88 kB / 1.336 GB, free: 7.676 MB / 1.029 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.0001627/0.3249, allocations: 107.2 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005586/0.3254, allocations: 370.2 kB / 1.336 GB, free: 7.16 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3254, allocations: 4.062 kB / 1.336 GB, free: 7.156 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.3256, allocations: 77.39 kB / 1.336 GB, free: 7.082 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3259, allocations: 43.91 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.3266, allocations: 411.6 kB / 1.337 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.3267, allocations: 142.1 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.872e-05/0.3268, allocations: 27.44 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of SimCode: time 3.61e-07/0.3268, allocations: 0 / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of Templates: time 0.005936/0.3327, allocations: 3.377 MB / 1.34 GB, free: 3.059 MB / 1.029 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/jenkins1/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: 11.002720407675952]