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.001626/0.001626, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001968/0.001968, allocations: 212.3 kB / 22.99 MB, free: 4.984 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.607/1.607, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.442/3.442, allocations: 0.49 GB / 0.7959 GB, free: 35.44 MB / 0.6231 GB " [Timeout remaining time 176] 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.002153/0.002153, allocations: 67.44 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4035, allocations: 176.1 MB / 1.327 GB, free: 1.031 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003098/0.4066, allocations: 1.093 MB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002401/0.409, allocations: 1.4 MB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.4092, allocations: 0 / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.363e-05/0.4093, allocations: 27.67 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002009/0.4095, allocations: 47.59 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.4104, allocations: 297.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005882/0.411, allocations: 411.8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002453/0.4113, allocations: 88.78 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.4115, allocations: 155.5 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.4118, allocations: 151.4 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.422e-05/0.4119, allocations: 52 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.412, allocations: 55.97 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.438e-05/0.4121, allocations: 67.72 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001568/0.4122, allocations: 135.5 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.4128, allocations: 490.2 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.4128, allocations: 3.984 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.4128, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.4128, allocations: 0 / 1.331 GB, free: 12.57 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.001016/0.4138, allocations: 0.5433 MB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.4139, allocations: 12.03 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.61e-05/0.414, allocations: 32.8 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000697/0.4147, allocations: 269.8 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.4147, allocations: 20.38 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.913e-05/0.4148, allocations: 28.38 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.4151, allocations: 174.5 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.4151, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.4151, allocations: 8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.4151, allocations: 8 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.4154, allocations: 115.9 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/0.4163, allocations: 0.5351 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004441/0.4168, allocations: 154.8 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.4169, allocations: 61.12 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.4169, allocations: 11.94 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003102/0.4173, allocations: 140.6 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.4173, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004757/0.4177, allocations: 226.3 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.4178, allocations: 55.41 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.418, allocations: 206.9 kB / 1.334 GB, free: 9.848 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.399e-05/0.4181, allocations: 45.64 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.4182, allocations: 140.6 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.427e-05/0.4182, allocations: 55.56 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/0.4184, allocations: 81.67 kB / 1.334 GB, free: 9.516 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4185, allocations: 338.7 kB / 1.335 GB, free: 9.176 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.4188, allocations: 163.3 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003303/0.4191, allocations: 299.3 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002937/0.4194, allocations: 213.8 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4194, allocations: 0 / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006517/0.4201, allocations: 435.2 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.4201, allocations: 67.41 kB / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4201, allocations: 0 / 1.336 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.4202, allocations: 7.938 kB / 1.336 GB, free: 7.883 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.944e-05/0.4203, allocations: 15.98 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.4203, allocations: 3.938 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.4207, allocations: 83.91 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.222e-05/0.4207, allocations: 19.98 kB / 1.336 GB, free: 7.762 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.0002005/0.4209, allocations: 144.1 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.4209, allocations: 23.84 kB / 1.336 GB, free: 7.586 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.421, allocations: 25.75 kB / 1.336 GB, free: 7.562 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.631e-06/0.421, allocations: 4 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.421, allocations: 0 / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.421, allocations: 7.984 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.4213, allocations: 209.1 kB / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4213, allocations: 0 / 1.336 GB, free: 7.316 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.145e-05/0.4214, allocations: 16 kB / 1.336 GB, free: 7.301 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.4214, allocations: 7.969 kB / 1.336 GB, free: 7.293 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.4214, allocations: 7.984 kB / 1.336 GB, free: 7.285 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.4214, allocations: 3.938 kB / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4214, allocations: 0 / 1.336 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.4217, allocations: 198.6 kB / 1.336 GB, free: 7.07 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.657e-05/0.4217, allocations: 23.84 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.4218, allocations: 8 kB / 1.336 GB, free: 7.039 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.703e-05/0.4219, allocations: 15.92 kB / 1.336 GB, free: 7.023 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.843e-05/0.422, allocations: 35.94 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.422, allocations: 8 kB / 1.336 GB, free: 6.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001362/0.4221, allocations: 144.4 kB / 1.337 GB, free: 6.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4221, allocations: 3.938 kB / 1.337 GB, free: 6.836 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002955/0.4224, allocations: 63.89 kB / 1.337 GB, free: 6.773 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.0001753/0.4226, allocations: 115.2 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005645/0.4232, allocations: 378 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4232, allocations: 0 / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001326/0.4233, allocations: 69.62 kB / 1.337 GB, free: 6.176 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.4236, allocations: 31.98 kB / 1.337 GB, free: 6.145 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000728/0.4243, allocations: 396.1 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.4245, allocations: 130.2 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.4246, allocations: 25.94 kB / 1.338 GB, free: 5.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.292e-05/0.4246, allocations: 23.44 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of SimCode: time 4.8e-07/0.4246, allocations: 0 / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of Templates: time 0.008555/0.4332, allocations: 3.951 MB / 1.342 GB, free: 1.652 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 -s cvode -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: 9.589712209999561]