Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002065/0.002065, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7854/0.7874, allocations: 168.7 MB / 1.269 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002609/0.79, allocations: 1.158 MB / 1.27 GB, free: 4.012 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.792, allocations: 1.377 MB / 1.271 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.7922, allocations: 8 kB / 1.271 GB, free: 2.613 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.262e-05/0.7922, allocations: 23.67 kB / 1.271 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.7924, allocations: 51.59 kB / 1.271 GB, free: 2.539 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007781/0.7932, allocations: 297.8 kB / 1.272 GB, free: 2.254 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005078/0.7937, allocations: 407.8 kB / 1.272 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.7939, allocations: 96.2 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002235/0.7941, allocations: 159.5 kB / 1.272 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.7944, allocations: 159.3 kB / 1.272 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.7945, allocations: 44 kB / 1.272 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.7946, allocations: 56 kB / 1.272 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.286e-05/0.7947, allocations: 63.77 kB / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.7949, allocations: 163.3 kB / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006094/0.7955, allocations: 484.1 kB / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.7955, allocations: 3.938 kB / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7955, allocations: 0 / 1.273 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.7955, allocations: 0 / 1.273 GB, free: 0.6367 MB / 0.9669 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.001057/0.7965, allocations: 0.6284 MB / 1.274 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.7966, allocations: 8.031 kB / 1.274 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.7966, allocations: 50.73 kB / 1.274 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.7967, allocations: 32.75 kB / 1.274 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.7974, allocations: 328 kB / 1.274 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.7975, allocations: 20.38 kB / 1.274 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.845e-05/0.7975, allocations: 32.38 kB / 1.274 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/0.7979, allocations: 173.6 kB / 1.274 GB, free: 15.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.7979, allocations: 3.938 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.809e-05/0.7979, allocations: 11.94 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.7979, allocations: 4 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/0.7981, allocations: 112 kB / 1.274 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.7993, allocations: 0.6914 MB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004055/0.7997, allocations: 146.8 kB / 1.275 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.7998, allocations: 60.83 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.7998, allocations: 8 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002886/0.8001, allocations: 131.3 kB / 1.275 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.8001, allocations: 0 / 1.275 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004681/0.8006, allocations: 219.2 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.8006, allocations: 59.36 kB / 1.276 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.8008, allocations: 222.7 kB / 1.276 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.8009, allocations: 37.7 kB / 1.276 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.801, allocations: 156.8 kB / 1.276 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.8011, allocations: 47.64 kB / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.8012, allocations: 85.55 kB / 1.276 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.8013, allocations: 326.8 kB / 1.277 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.8016, allocations: 95.95 kB / 1.277 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002699/0.8018, allocations: 168.3 kB / 1.277 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.8021, allocations: 214.2 kB / 1.277 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.8021, allocations: 0 / 1.277 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006274/0.8028, allocations: 364.7 kB / 1.277 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.83e-05/0.8028, allocations: 71.33 kB / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8028, allocations: 0 / 1.277 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.8029, allocations: 4 kB / 1.277 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.393e-05/0.8029, allocations: 23.86 kB / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.8029, allocations: 0 / 1.278 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.8033, allocations: 83.89 kB / 1.278 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.365e-05/0.8034, allocations: 23.97 kB / 1.278 GB, free: 11.74 MB / 0.9825 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.0001788/0.8036, allocations: 151.6 kB / 1.278 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.8036, allocations: 19.84 kB / 1.278 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.684e-05/0.8037, allocations: 29.86 kB / 1.278 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.8037, allocations: 12 kB / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.8037, allocations: 0 / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.8037, allocations: 0 / 1.278 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.804, allocations: 297.4 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.804, allocations: 0 / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.8041, allocations: 19.92 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.8041, allocations: 3.938 kB / 1.278 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.8041, allocations: 8 kB / 1.278 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8041, allocations: 0 / 1.278 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8041, allocations: 0 / 1.278 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.8044, allocations: 202.8 kB / 1.278 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.334e-05/0.8045, allocations: 92.95 kB / 1.278 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.8045, allocations: 11.98 kB / 1.278 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.616e-05/0.8046, allocations: 15.98 kB / 1.278 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.171e-05/0.8047, allocations: 27.95 kB / 1.278 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.8047, allocations: 8 kB / 1.278 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001397/0.8048, allocations: 148.4 kB / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8048, allocations: 0 / 1.279 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002901/0.8051, allocations: 67.84 kB / 1.279 GB, free: 10.55 MB / 0.9825 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.0007077/0.8058, allocations: 0.7494 MB / 1.279 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000526/0.8063, allocations: 318.7 kB / 1.28 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.8063, allocations: 0 / 1.28 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.8065, allocations: 67.92 kB / 1.28 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.8068, allocations: 35.91 kB / 1.28 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/0.8101, allocations: 2.434 MB / 1.282 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.8105, allocations: 0.7479 MB / 1.283 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.686e-05/0.8106, allocations: 25.95 kB / 1.283 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.8107, allocations: 83.33 kB / 1.283 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/0.8107, allocations: 0 / 1.283 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.84, allocations: 5.466 MB / 1.288 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.444/9.284, allocations: 12.72 kB / 1.288 GB, free: 0.6211 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.372884447220713]