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.001905/0.001905, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002679/0.002679, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.481/1.481, allocations: 230.6 MB / 256 MB, free: 7.969 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.202/3.202, allocations: 0.49 GB / 0.7951 GB, free: 33.61 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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [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.001989/0.001989, allocations: 71.84 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4097, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003359/0.413, allocations: 1.163 MB / 1.327 GB, free: 0.8047 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002378/0.4154, allocations: 1.416 MB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.4155, allocations: 4 kB / 1.328 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.1e-05/0.4156, allocations: 23.67 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.4158, allocations: 55.58 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007895/0.4166, allocations: 298.1 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005053/0.4171, allocations: 411.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.4173, allocations: 84.78 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.4175, allocations: 159.5 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002781/0.4178, allocations: 159.3 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.482e-05/0.4179, allocations: 47.94 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001166/0.418, allocations: 59.98 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.387e-05/0.4181, allocations: 51.84 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001896/0.4183, allocations: 175.2 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006039/0.4189, allocations: 490.5 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4189, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4189, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.4189, allocations: 0 / 1.33 GB, free: 13.39 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.001044/0.4199, allocations: 0.5434 MB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.42, allocations: 12.03 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.887e-05/0.42, allocations: 46.73 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.64e-05/0.4201, allocations: 32.8 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.4208, allocations: 273.8 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.598e-05/0.4209, allocations: 20.38 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.571e-05/0.4209, allocations: 28.38 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.4213, allocations: 178.3 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4213, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.4213, allocations: 8 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4213, allocations: 8 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000235/0.4216, allocations: 111.9 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.4228, allocations: 0.6554 MB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.4234, allocations: 154.8 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.4235, allocations: 57.12 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.4235, allocations: 7.922 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003488/0.4238, allocations: 132.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.4238, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004774/0.4243, allocations: 226.8 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.4244, allocations: 55.41 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002713/0.4246, allocations: 222.6 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.559e-05/0.4247, allocations: 33.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.4249, allocations: 144.6 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.4249, allocations: 51.58 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.4251, allocations: 77.67 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002192/0.4253, allocations: 334.8 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002309/0.4255, allocations: 95.95 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/0.4258, allocations: 166.7 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4261, allocations: 217.6 kB / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4261, allocations: 0 / 1.334 GB, free: 9.293 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00064/0.4268, allocations: 362.9 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.516e-05/0.4269, allocations: 63.34 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.4269, allocations: 7.984 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4269, allocations: 0 / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.505e-05/0.427, allocations: 28.06 kB / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.427, allocations: 0 / 1.335 GB, free: 8.812 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003668/0.4273, allocations: 79.73 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.531e-05/0.4274, allocations: 16 kB / 1.335 GB, free: 8.719 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.0002134/0.4276, allocations: 156 kB / 1.335 GB, free: 8.559 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.4276, allocations: 27.8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.4277, allocations: 21.81 kB / 1.335 GB, free: 8.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4277, allocations: 4 kB / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.4277, allocations: 0 / 1.335 GB, free: 8.508 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.4277, allocations: 3.984 kB / 1.335 GB, free: 8.504 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.4281, allocations: 268.5 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4281, allocations: 0 / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.247e-05/0.4281, allocations: 16 kB / 1.335 GB, free: 8.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.4282, allocations: 3.938 kB / 1.335 GB, free: 8.18 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.4282, allocations: 11.98 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4282, allocations: 3.938 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4282, allocations: 0 / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.4285, allocations: 194.5 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.473e-05/0.4286, allocations: 19.8 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.4286, allocations: 8 kB / 1.335 GB, free: 7.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.4287, allocations: 19.98 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4288, allocations: 35.94 kB / 1.335 GB, free: 7.875 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.792e-05/0.4288, allocations: 8 kB / 1.335 GB, free: 7.867 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001667/0.429, allocations: 144.6 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of sort global known variables: time 5e-08/0.429, allocations: 0 / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002987/0.4293, allocations: 55.89 kB / 1.336 GB, free: 7.672 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.000853/0.4301, allocations: 0.7621 MB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005666/0.4307, allocations: 302.6 kB / 1.337 GB, free: 6.559 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4307, allocations: 3.938 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.4308, allocations: 71.91 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000323/0.4312, allocations: 43.75 kB / 1.337 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.4345, allocations: 2.447 MB / 1.339 GB, free: 3.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005515/0.4351, allocations: 0.7402 MB / 1.34 GB, free: 3.109 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.453e-05/0.4352, allocations: 29.97 kB / 1.34 GB, free: 3.082 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.4353, allocations: 75.41 kB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.4353, allocations: 0 / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03764/0.473, allocations: 5.651 MB / 1.345 GB, free: 13.53 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/12.01, allocations: 19.27 kB / 1.345 GB, free: 13.52 MB / 1.045 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] 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: 18.693642121972516]