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.001575/0.001575, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001692/0.001692, allocations: 218.7 kB / 23.04 MB, free: 4.844 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.766 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.053/3.053, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.00201/0.00201, allocations: 63.14 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.32, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002421/0.3224, allocations: 1.097 MB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.3242, allocations: 1.396 MB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.317e-05/0.3243, allocations: 4 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.085e-05/0.3244, allocations: 23.67 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.3245, allocations: 51.59 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007343/0.3253, allocations: 297.4 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.3257, allocations: 411.8 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.3259, allocations: 80.78 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.3261, allocations: 163.5 kB / 1.331 GB, free: 13.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001959/0.3263, allocations: 139.4 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.854e-05/0.3264, allocations: 44 kB / 1.331 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.3265, allocations: 52 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.126e-05/0.3265, allocations: 63.77 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.3267, allocations: 135.5 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005207/0.3272, allocations: 0.4904 MB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3272, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.322e-06/0.3272, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.101e-06/0.3272, allocations: 0 / 1.331 GB, free: 12.55 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.0008783/0.3281, allocations: 0.5371 MB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.3281, allocations: 11.97 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.71e-05/0.3282, allocations: 32.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006548/0.3289, allocations: 269.9 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.3289, allocations: 24.31 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/0.329, allocations: 32.36 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000303/0.3293, allocations: 178.5 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.3293, allocations: 0 / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.833e-05/0.3293, allocations: 8 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.3293, allocations: 4 kB / 1.333 GB, free: 11.4 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.3295, allocations: 108 kB / 1.333 GB, free: 11.29 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009374/0.3305, allocations: 0.5468 MB / 1.333 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.3309, allocations: 150.8 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.331, allocations: 61.06 kB / 1.333 GB, free: 10.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.331, allocations: 11.92 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.3312, allocations: 131.3 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.543e-06/0.3312, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004475/0.3317, allocations: 226.7 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.3317, allocations: 51.41 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.3319, allocations: 214.9 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.332, allocations: 41.64 kB / 1.334 GB, free: 9.785 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.3321, allocations: 144.6 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.3321, allocations: 47.58 kB / 1.334 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3323, allocations: 77.67 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3324, allocations: 342.8 kB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002488/0.3327, allocations: 159.3 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.333, allocations: 303.3 kB / 1.335 GB, free: 8.648 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.3333, allocations: 219.3 kB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3333, allocations: 0 / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006502/0.334, allocations: 428.1 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.178e-05/0.334, allocations: 67.34 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3341, allocations: 4 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3341, allocations: 7.922 kB / 1.336 GB, free: 7.871 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.175e-05/0.3342, allocations: 24.06 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3342, allocations: 0 / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004032/0.3346, allocations: 79.8 kB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/0.3346, allocations: 12 kB / 1.336 GB, free: 7.758 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.0001692/0.3348, allocations: 156.1 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.3348, allocations: 23.89 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.3349, allocations: 29.69 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3349, allocations: 4 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3349, allocations: 0 / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3349, allocations: 3.984 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002233/0.3351, allocations: 209.1 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3351, allocations: 0 / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.566e-05/0.3352, allocations: 12 kB / 1.336 GB, free: 7.289 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.3352, allocations: 4 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.3352, allocations: 15.98 kB / 1.336 GB, free: 7.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.3352, allocations: 3.938 kB / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3352, allocations: 0 / 1.336 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.3355, allocations: 198.4 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.153e-05/0.3355, allocations: 19.86 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3355, allocations: 4 kB / 1.336 GB, free: 7.031 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.078e-05/0.3356, allocations: 19.92 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.3357, allocations: 35.94 kB / 1.337 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.3358, allocations: 7.938 kB / 1.337 GB, free: 6.969 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001244/0.3359, allocations: 152.4 kB / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3359, allocations: 0 / 1.337 GB, free: 6.82 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002856/0.3362, allocations: 59.89 kB / 1.337 GB, free: 6.762 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.0001515/0.3363, allocations: 115.2 kB / 1.337 GB, free: 6.637 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005475/0.3369, allocations: 376.8 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3369, allocations: 0 / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.337, allocations: 72.16 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.3373, allocations: 39.98 kB / 1.337 GB, free: 6.125 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006564/0.338, allocations: 417.3 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.3381, allocations: 142 kB / 1.338 GB, free: 5.531 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.3381, allocations: 23.42 kB / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3381, allocations: 0 / 1.338 GB, free: 5.508 MB / 1.029 GB Notification: Performance of Templates: time 0.005518/0.3437, allocations: 3.384 MB / 1.341 GB, free: 2.141 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: 10.816476318053901]