Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: 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_9_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_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 105.7 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.272/2.272, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 65.41 kB / 0.8132 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3072, allocations: 140.4 MB / 0.9503 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002622/0.3099, allocations: 1.151 MB / 0.9514 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3117, allocations: 1.378 MB / 0.9528 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.3119, allocations: 4 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 6.287e-05/0.3119, allocations: 23.67 kB / 0.9528 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001496/0.3121, allocations: 39.59 kB / 0.9528 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.3128, allocations: 290.2 kB / 0.9531 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003881/0.3132, allocations: 431.8 kB / 0.9535 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.3134, allocations: 127.7 kB / 0.9536 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.3136, allocations: 155.5 kB / 0.9538 GB, free: 5.242 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.3138, allocations: 139.4 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.939e-05/0.3139, allocations: 44 kB / 0.954 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.314, allocations: 67.91 kB / 0.954 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.3141, allocations: 55.84 kB / 0.9541 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.3142, allocations: 163.3 kB / 0.9542 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004289/0.3147, allocations: 470.9 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3147, allocations: 4 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3147, allocations: 7.875 kB / 0.9547 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3147, allocations: 4 kB / 0.9547 GB, free: 4.305 MB / 0.7325 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.0008748/0.3156, allocations: 0.612 MB / 0.9553 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.3156, allocations: 12.03 kB / 0.9553 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.256e-05/0.3157, allocations: 28.66 kB / 0.9553 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006642/0.3164, allocations: 331.6 kB / 0.9556 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3164, allocations: 20.38 kB / 0.9557 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.921e-05/0.3165, allocations: 36.12 kB / 0.9557 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.3168, allocations: 165.5 kB / 0.9559 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3168, allocations: 4 kB / 0.9559 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.169e-05/0.3168, allocations: 8 kB / 0.9559 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3169, allocations: 4 kB / 0.9559 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.3171, allocations: 112 kB / 0.956 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.318, allocations: 0.7029 MB / 0.9567 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003859/0.3184, allocations: 158.9 kB / 0.9568 GB, free: 1.965 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.3186, allocations: 68.78 kB / 0.9569 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.3186, allocations: 4 kB / 0.9569 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.3188, allocations: 135.3 kB / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.3188, allocations: 0 / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of matching and sorting (n=20): time 0.0004148/0.3193, allocations: 215.5 kB / 0.9572 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.3193, allocations: 63.27 kB / 0.9573 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3195, allocations: 219 kB / 0.9575 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.34e-05/0.3195, allocations: 41.7 kB / 0.9575 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/0.3197, allocations: 148.4 kB / 0.9577 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.3197, allocations: 43.44 kB / 0.9577 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.3198, allocations: 77.67 kB / 0.9578 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.32, allocations: 334.8 kB / 0.9581 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001916/0.3202, allocations: 95.95 kB / 0.9582 GB, free: 496 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/0.3204, allocations: 163.8 kB / 0.9584 GB, free: 308 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.3207, allocations: 215.5 kB / 0.9586 GB, free: 64 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3207, allocations: 0 / 0.9586 GB, free: 64 kB / 0.7325 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005731/0.3212, allocations: 366.1 kB / 0.9589 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.3213, allocations: 63.41 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3213, allocations: 0 / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3213, allocations: 4 kB / 0.959 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.778e-05/0.3214, allocations: 19.92 kB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3214, allocations: 4 kB / 0.959 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003814/0.3218, allocations: 75.89 kB / 0.9591 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.3219, allocations: 23.92 kB / 0.9591 GB, free: 15.49 MB / 0.7481 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.0001602/0.322, allocations: 147.5 kB / 0.9592 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.3221, allocations: 27.64 kB / 0.9593 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.674e-05/0.3221, allocations: 25.88 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3222, allocations: 4 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3222, allocations: 0 / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3222, allocations: 3.984 kB / 0.9593 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.3224, allocations: 289.5 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3224, allocations: 3.938 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.108e-05/0.3225, allocations: 12 kB / 0.9596 GB, free: 14.92 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3225, allocations: 4 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.3225, allocations: 7.984 kB / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3225, allocations: 0 / 0.9596 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3225, allocations: 3.938 kB / 0.9596 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.3228, allocations: 202.6 kB / 0.9598 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.847e-05/0.3229, allocations: 108.8 kB / 0.9599 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.3229, allocations: 8 kB / 0.9599 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.323, allocations: 15.98 kB / 0.9599 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.021e-05/0.3231, allocations: 31.95 kB / 0.9599 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.3231, allocations: 8 kB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001113/0.3232, allocations: 140.4 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3232, allocations: 4 kB / 0.9601 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002766/0.3235, allocations: 63.84 kB / 0.9602 GB, free: 14.3 MB / 0.7481 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.0001686/0.3237, allocations: 119.2 kB / 0.9603 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3242, allocations: 342.7 kB / 0.9606 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.3242, allocations: 0 / 0.9606 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3243, allocations: 80.17 kB / 0.9607 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3247, allocations: 49.89 kB / 0.9607 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/0.3253, allocations: 417.9 kB / 0.9611 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.3256, allocations: 0.7403 MB / 0.9618 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.169e-05/0.3257, allocations: 27.42 kB / 0.9619 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of SimCode: time 2.5e-07/0.3257, allocations: 4 kB / 0.9619 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of Templates: time 0.005383/0.3311, allocations: 3.293 MB / 0.9651 GB, free: 9.176 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches