Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001591/0.001591, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001767/0.001767, allocations: 223.3 kB / 23 MB, free: 4.914 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.459/1.459, 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 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.301/3.301, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002126/0.002126, allocations: 73.25 kB / 1.187 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3816, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002878/0.3845, allocations: 1.079 MB / 1.366 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.3867, allocations: 1.394 MB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001444/0.3869, allocations: 4 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.173e-05/0.3869, allocations: 23.67 kB / 1.367 GB, free: 11.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001712/0.3871, allocations: 59.58 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.3879, allocations: 294.9 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005134/0.3884, allocations: 415.8 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002331/0.3887, allocations: 85.44 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002199/0.3889, allocations: 159.5 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002369/0.3891, allocations: 131.4 kB / 1.368 GB, free: 9.969 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.3892, allocations: 47.94 kB / 1.368 GB, free: 9.922 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.3893, allocations: 59.97 kB / 1.368 GB, free: 9.863 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.611e-05/0.3894, allocations: 59.84 kB / 1.368 GB, free: 9.805 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.3895, allocations: 139.5 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.3901, allocations: 494.2 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3901, allocations: 0 / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3901, allocations: 0 / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3902, allocations: 3.938 kB / 1.369 GB, free: 9.18 MB / 1.061 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.0009969/0.3911, allocations: 0.5434 MB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3912, allocations: 8.031 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.595e-05/0.3913, allocations: 32.75 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000677/0.392, allocations: 273.9 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.095e-05/0.392, allocations: 24.38 kB / 1.37 GB, free: 8.238 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.3921, allocations: 24.38 kB / 1.37 GB, free: 8.215 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.3924, allocations: 174.6 kB / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.3924, allocations: 0 / 1.37 GB, free: 8.039 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.3924, allocations: 8 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3924, allocations: 4 kB / 1.37 GB, free: 8.027 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.3926, allocations: 111.9 kB / 1.37 GB, free: 7.918 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009694/0.3936, allocations: 0.5429 MB / 1.371 GB, free: 7.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004435/0.3941, allocations: 150.8 kB / 1.371 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3942, allocations: 61.12 kB / 1.371 GB, free: 7.121 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3942, allocations: 7.938 kB / 1.371 GB, free: 7.113 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.3945, allocations: 135.3 kB / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3945, allocations: 0 / 1.371 GB, free: 6.969 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0004803/0.395, allocations: 227.1 kB / 1.371 GB, free: 6.742 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.3951, allocations: 59.41 kB / 1.371 GB, free: 6.672 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.3953, allocations: 207 kB / 1.371 GB, free: 6.461 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-05/0.3954, allocations: 41.7 kB / 1.371 GB, free: 6.414 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.3955, allocations: 144.6 kB / 1.372 GB, free: 6.27 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.53e-05/0.3956, allocations: 51.56 kB / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/0.3957, allocations: 77.67 kB / 1.372 GB, free: 6.137 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.3959, allocations: 338.8 kB / 1.372 GB, free: 5.797 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002461/0.3961, allocations: 163.3 kB / 1.372 GB, free: 5.625 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000336/0.3965, allocations: 303.8 kB / 1.372 GB, free: 5.273 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.3968, allocations: 214.9 kB / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3968, allocations: 0 / 1.373 GB, free: 5.039 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006356/0.3974, allocations: 428.1 kB / 1.373 GB, free: 4.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.3975, allocations: 63.41 kB / 1.373 GB, free: 4.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.3975, allocations: 8.125 kB / 1.373 GB, free: 4.508 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/0.3975, allocations: 3.938 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.956e-05/0.3976, allocations: 23.92 kB / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.3976, allocations: 0 / 1.373 GB, free: 4.48 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.398, allocations: 75.81 kB / 1.373 GB, free: 4.406 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.398, allocations: 19.98 kB / 1.373 GB, free: 4.387 MB / 1.061 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.0001752/0.3982, allocations: 160.2 kB / 1.373 GB, free: 4.223 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.3983, allocations: 15.91 kB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.21e-05/0.3983, allocations: 29.73 kB / 1.373 GB, free: 4.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3983, allocations: 4 kB / 1.373 GB, free: 4.176 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.3983, allocations: 3.938 kB / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3983, allocations: 0 / 1.373 GB, free: 4.172 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.3986, allocations: 209.1 kB / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3986, allocations: 0 / 1.374 GB, free: 3.938 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.3987, allocations: 20 kB / 1.374 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3987, allocations: 0 / 1.374 GB, free: 3.918 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.3987, allocations: 7.984 kB / 1.374 GB, free: 3.91 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.3987, allocations: 3.938 kB / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3987, allocations: 0 / 1.374 GB, free: 3.906 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.399, allocations: 202.9 kB / 1.374 GB, free: 3.691 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.399, allocations: 23.89 kB / 1.374 GB, free: 3.668 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.3991, allocations: 4 kB / 1.374 GB, free: 3.664 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.324e-05/0.3991, allocations: 15.92 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.851e-05/0.3992, allocations: 35.94 kB / 1.374 GB, free: 3.613 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.599e-05/0.3992, allocations: 8 kB / 1.374 GB, free: 3.605 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001321/0.3994, allocations: 148.4 kB / 1.374 GB, free: 3.461 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3994, allocations: 0 / 1.374 GB, free: 3.461 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002838/0.3997, allocations: 67.84 kB / 1.374 GB, free: 3.395 MB / 1.061 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.0001912/0.3999, allocations: 115.2 kB / 1.374 GB, free: 3.27 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005592/0.4004, allocations: 371.6 kB / 1.375 GB, free: 2.871 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.4004, allocations: 8.062 kB / 1.375 GB, free: 2.863 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.4006, allocations: 63.92 kB / 1.375 GB, free: 2.801 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.4009, allocations: 38.89 kB / 1.375 GB, free: 2.766 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.4017, allocations: 421.6 kB / 1.375 GB, free: 2.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4018, allocations: 130.2 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.4019, allocations: 31.42 kB / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of SimCode: time 7.11e-07/0.4019, allocations: 0 / 1.375 GB, free: 2.145 MB / 1.061 GB Notification: Performance of Templates: time 0.006312/0.4082, allocations: 3.382 MB / 1.379 GB, free: 14.78 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.381206604186445]