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.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.000812/0.000812, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008306/0.0008306, allocations: 173.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8694/0.8694, allocations: 177.2 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.664/1.664, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.795e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.996 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002145/0.002173, allocations: 1.098 MB / 0.9528 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.00178/0.003953, allocations: 1.4 MB / 0.9542 GB, free: 492 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.004088, allocations: 8 kB / 0.9542 GB, free: 484 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.808e-05/0.004156, allocations: 23.67 kB / 0.9542 GB, free: 460 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.004307, allocations: 43.66 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007706/0.005078, allocations: 299.6 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004386/0.005516, allocations: 415.7 kB / 0.9549 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.005722, allocations: 84.83 kB / 0.955 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002661/0.005988, allocations: 235.5 kB / 0.9552 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.006163, allocations: 119.6 kB / 0.9553 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.006221, allocations: 48 kB / 0.9554 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 9.801e-05/0.006319, allocations: 55.98 kB / 0.9554 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.006369, allocations: 59.81 kB / 0.9555 GB, free: 15.11 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.006478, allocations: 115.7 kB / 0.9556 GB, free: 15 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.007005, allocations: 0.5297 MB / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.007007, allocations: 0 / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.62e-07/0.007008, allocations: 0 / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.007013, allocations: 0 / 0.9561 GB, free: 14.47 MB / 0.9167 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.00082/0.007833, allocations: 0.5472 MB / 0.9566 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.007874, allocations: 8.031 kB / 0.9567 GB, free: 13.87 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.007962, allocations: 36.75 kB / 0.9567 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005403/0.008502, allocations: 272.9 kB / 0.9569 GB, free: 13.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.008534, allocations: 28.38 kB / 0.957 GB, free: 13.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.008583, allocations: 24.38 kB / 0.957 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.008862, allocations: 166.1 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.008874, allocations: 4.125 kB / 0.9572 GB, free: 13.32 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.008894, allocations: 16.38 kB / 0.9572 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.008902, allocations: 7.938 kB / 0.9572 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.009099, allocations: 112 kB / 0.9573 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008129/0.009912, allocations: 0.5312 MB / 0.9578 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.01027, allocations: 161.5 kB / 0.958 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.01036, allocations: 64.83 kB / 0.958 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.01038, allocations: 4 kB / 0.958 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002184/0.0106, allocations: 131.3 kB / 0.9582 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/0.0106, allocations: 0 / 0.9582 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of matching and sorting (n=20): time 0.0004193/0.01102, allocations: 223 kB / 0.9584 GB, free: 12.02 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.01106, allocations: 55.41 kB / 0.9584 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001742/0.01123, allocations: 211 kB / 0.9586 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.01127, allocations: 41.69 kB / 0.9587 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.01138, allocations: 144.5 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.01142, allocations: 55.89 kB / 0.9589 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.01154, allocations: 77.67 kB / 0.9589 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.01165, allocations: 330.8 kB / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.01187, allocations: 163.3 kB / 0.9594 GB, free: 10.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000282/0.01215, allocations: 299.3 kB / 0.9597 GB, free: 10.56 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002341/0.01239, allocations: 213.6 kB / 0.9599 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.01239, allocations: 7.938 kB / 0.9599 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004563/0.01285, allocations: 425.2 kB / 0.9603 GB, free: 9.875 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.0129, allocations: 67.41 kB / 0.9604 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.01291, allocations: 0 / 0.9604 GB, free: 9.797 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.01292, allocations: 7.984 kB / 0.9604 GB, free: 9.789 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.347e-05/0.013, allocations: 15.94 kB / 0.9604 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.01301, allocations: 3.938 kB / 0.9604 GB, free: 9.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002947/0.0133, allocations: 87.88 kB / 0.9605 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.936e-05/0.01333, allocations: 16 kB / 0.9605 GB, free: 9.668 MB / 0.9167 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.0001118/0.01344, allocations: 155.8 kB / 0.9606 GB, free: 9.508 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.879e-05/0.01346, allocations: 15.91 kB / 0.9607 GB, free: 9.492 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.5e-05/0.01352, allocations: 21.81 kB / 0.9607 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01352, allocations: 4 kB / 0.9607 GB, free: 9.465 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.01353, allocations: 4 kB / 0.9607 GB, free: 9.461 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.01353, allocations: 11.86 kB / 0.9607 GB, free: 9.449 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.01373, allocations: 205.1 kB / 0.9609 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.01373, allocations: 0 / 0.9609 GB, free: 9.219 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.01379, allocations: 19.94 kB / 0.9609 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.0138, allocations: 0 / 0.9609 GB, free: 9.199 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.01381, allocations: 7.984 kB / 0.9609 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.01382, allocations: 0 / 0.9609 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.01382, allocations: 0 / 0.9609 GB, free: 9.191 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002734/0.01409, allocations: 210.8 kB / 0.9611 GB, free: 8.969 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.864e-05/0.01412, allocations: 19.91 kB / 0.9611 GB, free: 8.949 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.01415, allocations: 12 kB / 0.9611 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.944e-05/0.01422, allocations: 7.984 kB / 0.9612 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.281e-05/0.0143, allocations: 35.94 kB / 0.9612 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.464e-05/0.01432, allocations: 8 kB / 0.9612 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001209/0.01444, allocations: 144.5 kB / 0.9613 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01444, allocations: 0 / 0.9613 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003125/0.01475, allocations: 59.89 kB / 0.9614 GB, free: 8.688 MB / 0.9167 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.0001658/0.01491, allocations: 129.7 kB / 0.9615 GB, free: 8.551 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004822/0.0154, allocations: 371.9 kB / 0.9619 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.0154, allocations: 0 / 0.9619 GB, free: 8.152 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001218/0.01552, allocations: 78.31 kB / 0.9619 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002987/0.01582, allocations: 40.16 kB / 0.962 GB, free: 8.039 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.01646, allocations: 412.3 kB / 0.9624 GB, free: 7.605 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01657, allocations: 126.2 kB / 0.9625 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.01663, allocations: 28.48 kB / 0.9625 GB, free: 7.434 MB / 0.9167 GB Notification: Performance of SimCode: time 5.31e-07/0.01663, allocations: 4 kB / 0.9625 GB, free: 7.43 MB / 0.9167 GB Notification: Performance of Templates: time 0.00438/0.02101, allocations: 3.374 MB / 0.9658 GB, free: 4.066 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile [Timeout 300] (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 & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 400] 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.4930838430300355]