Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001194/0.001195, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.001198/0.001198, allocations: 193.7 kB / 16.91 MB, free: 6.195 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.434/1.434, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 437 MB / 0.7107 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 72.09 kB / 0.8694 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3225, allocations: 151.6 MB / 1.017 GB, free: 11.02 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002904/0.3254, allocations: 1.209 MB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001997/0.3275, allocations: 1.358 MB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.3277, allocations: 4 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.711e-05/0.3278, allocations: 15.8 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.328, allocations: 31.78 kB / 1.02 GB, free: 8.379 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000778/0.3288, allocations: 269.7 kB / 1.02 GB, free: 8.121 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004537/0.3292, allocations: 427.8 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.3295, allocations: 126.6 kB / 1.021 GB, free: 7.574 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002124/0.3297, allocations: 155.5 kB / 1.021 GB, free: 7.422 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.3299, allocations: 139.4 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.429e-05/0.33, allocations: 48 kB / 1.021 GB, free: 7.238 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001426/0.3302, allocations: 55.98 kB / 1.021 GB, free: 7.184 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.3302, allocations: 67.7 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.3304, allocations: 159.3 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003788/0.3308, allocations: 371.4 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3308, allocations: 0 / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of FrontEnd: time 4.448e-06/0.3308, allocations: 8 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.3308, allocations: 3.938 kB / 1.022 GB, free: 6.586 MB / 0.795 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.0009431/0.3318, allocations: 0.6053 MB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.3318, allocations: 12.03 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3319, allocations: 28.66 kB / 1.022 GB, free: 5.883 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006955/0.3326, allocations: 339.6 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.3327, allocations: 20.38 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3327, allocations: 24.38 kB / 1.023 GB, free: 5.469 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003276/0.3331, allocations: 177.8 kB / 1.023 GB, free: 5.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3331, allocations: 4 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.3331, allocations: 8 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3331, allocations: 4 kB / 1.023 GB, free: 5.273 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002082/0.3334, allocations: 115.9 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.3344, allocations: 0.6952 MB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.3348, allocations: 163.9 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.3349, allocations: 68.84 kB / 1.024 GB, free: 4.176 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.335, allocations: 7.938 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.3352, allocations: 131.3 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.984e-06/0.3352, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0004673/0.3357, allocations: 215 kB / 1.024 GB, free: 3.812 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3357, allocations: 59.38 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.3359, allocations: 219 kB / 1.025 GB, free: 3.52 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/0.336, allocations: 41.7 kB / 1.025 GB, free: 3.473 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.3361, allocations: 140.5 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.3362, allocations: 47.34 kB / 1.025 GB, free: 3.285 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3363, allocations: 81.67 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.3365, allocations: 342.8 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.3367, allocations: 103.8 kB / 1.025 GB, free: 2.754 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.3369, allocations: 158.8 kB / 1.025 GB, free: 2.574 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/0.3372, allocations: 217.7 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3372, allocations: 0 / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005764/0.3378, allocations: 356.6 kB / 1.026 GB, free: 1.969 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.991e-05/0.3378, allocations: 67.34 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3379, allocations: 3.984 kB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3379, allocations: 4 kB / 1.026 GB, free: 1.883 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.067e-05/0.338, allocations: 19.98 kB / 1.026 GB, free: 1.863 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.338, allocations: 3.938 kB / 1.026 GB, free: 1.859 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.3384, allocations: 75.89 kB / 1.026 GB, free: 1.785 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.124e-05/0.3384, allocations: 23.92 kB / 1.026 GB, free: 1.762 MB / 0.795 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.0001555/0.3386, allocations: 147.6 kB / 1.026 GB, free: 1.609 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.3386, allocations: 27.64 kB / 1.026 GB, free: 1.582 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.226e-05/0.3387, allocations: 25.88 kB / 1.026 GB, free: 1.555 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.3387, allocations: 4 kB / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3387, allocations: 0 / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3387, allocations: 0 / 1.026 GB, free: 1.551 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.339, allocations: 289.5 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.339, allocations: 0 / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.3391, allocations: 15.94 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3391, allocations: 3.938 kB / 1.027 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.3391, allocations: 11.98 kB / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3391, allocations: 0 / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3391, allocations: 0 / 1.027 GB, free: 1.188 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.3394, allocations: 202.9 kB / 1.027 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.647e-05/0.3395, allocations: 96.84 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.3396, allocations: 15.94 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.3396, allocations: 15.98 kB / 1.027 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.347e-05/0.3397, allocations: 27.95 kB / 1.027 GB, free: 0.8008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.3398, allocations: 12 kB / 1.027 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001175/0.3399, allocations: 152.1 kB / 1.027 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3399, allocations: 4 kB / 1.027 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002945/0.3402, allocations: 59.84 kB / 1.027 GB, free: 0.5781 MB / 0.795 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.0001596/0.3404, allocations: 112.4 kB / 1.027 GB, free: 472 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005065/0.3409, allocations: 354.5 kB / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3409, allocations: 256 / 1.028 GB, free: 92 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.341, allocations: 83.92 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003262/0.3414, allocations: 37.92 kB / 1.028 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007036/0.3421, allocations: 480.1 kB / 1.028 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.3424, allocations: 0.7403 MB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.3424, allocations: 31.42 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of SimCode: time 4.11e-07/0.3424, allocations: 4 kB / 1.029 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of Templates: time 0.006056/0.3485, allocations: 3.304 MB / 1.032 GB, free: 11.38 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches