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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001141/0.001141, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 199.8 kB / 16.79 MB, free: 6.809 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.409/1.409, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.725/2.725, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 55.91 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7073/0.7088, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002945/0.7118, allocations: 1.213 MB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002175/0.714, allocations: 1.393 MB / 1.02 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.7142, allocations: 4 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.043e-05/0.7143, allocations: 15.8 kB / 1.02 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001812/0.7145, allocations: 31.78 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000789/0.7153, allocations: 268.5 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004384/0.7158, allocations: 355.9 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.716, allocations: 120.2 kB / 1.021 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.7163, allocations: 131.5 kB / 1.021 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.7165, allocations: 131.3 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.967e-05/0.7166, allocations: 20 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.7167, allocations: 39.98 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.7168, allocations: 47.72 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.717, allocations: 135.3 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.7174, allocations: 373.1 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.7174, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7174, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.7174, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 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.001086/0.7185, allocations: 0.6111 MB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.7186, allocations: 12.03 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.7187, allocations: 28.66 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007951/0.7195, allocations: 327.8 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.661e-05/0.7195, allocations: 20.38 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.412e-05/0.7196, allocations: 32.31 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003564/0.72, allocations: 169.8 kB / 1.023 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.72, allocations: 3.984 kB / 1.023 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.296e-05/0.72, allocations: 16 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.72, allocations: 4 kB / 1.023 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002233/0.7203, allocations: 115.9 kB / 1.023 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.7214, allocations: 0.6912 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004131/0.7218, allocations: 166.8 kB / 1.024 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001255/0.7219, allocations: 64.84 kB / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.722, allocations: 0 / 1.024 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003403/0.7223, allocations: 133 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.813e-06/0.7223, allocations: 7.938 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0004866/0.7228, allocations: 223.3 kB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.7229, allocations: 55.41 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.7231, allocations: 210.8 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.644e-05/0.7232, allocations: 37.7 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.7233, allocations: 144.7 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.7233, allocations: 51.34 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.7235, allocations: 77.67 kB / 1.025 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.7236, allocations: 338.8 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.7239, allocations: 99.89 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002405/0.7241, allocations: 162.8 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.7244, allocations: 213.8 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.7244, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005996/0.725, allocations: 363.8 kB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.856e-05/0.7251, allocations: 71.33 kB / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.7251, allocations: 0 / 1.026 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.7251, allocations: 4 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.774e-05/0.7252, allocations: 16.12 kB / 1.026 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.7252, allocations: 4 kB / 1.026 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/0.7256, allocations: 75.75 kB / 1.026 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.7257, allocations: 12 kB / 1.026 GB, free: 9.734 MB / 0.7794 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.0001779/0.7259, allocations: 164.1 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.837e-05/0.7259, allocations: 31.66 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.053e-05/0.726, allocations: 21.88 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.726, allocations: 0 / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.726, allocations: 0 / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.726, allocations: 7.922 kB / 1.026 GB, free: 9.504 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.7263, allocations: 289.5 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.7263, allocations: 4 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.7264, allocations: 23.92 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.7264, allocations: 7.938 kB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.7264, allocations: 0 / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.7264, allocations: 0 / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7264, allocations: 4 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000308/0.7267, allocations: 192.8 kB / 1.027 GB, free: 8.926 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.7268, allocations: 100.9 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.7268, allocations: 7.938 kB / 1.027 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.435e-05/0.7269, allocations: 15.98 kB / 1.027 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/0.727, allocations: 35.89 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.7271, allocations: 11.98 kB / 1.027 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001374/0.7272, allocations: 152.2 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7272, allocations: 0 / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002932/0.7275, allocations: 51.91 kB / 1.027 GB, free: 8.539 MB / 0.7794 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.000193/0.7277, allocations: 128.7 kB / 1.027 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005111/0.7282, allocations: 345 kB / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7282, allocations: 0 / 1.027 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.7284, allocations: 75.91 kB / 1.027 GB, free: 7.973 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.7287, allocations: 40.73 kB / 1.027 GB, free: 7.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.7295, allocations: 479.6 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.7298, allocations: 0.7407 MB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.904e-05/0.7299, allocations: 27.42 kB / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.7299, allocations: 0 / 1.029 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of Templates: time 0.006113/0.736, allocations: 3.298 MB / 1.032 GB, free: 3.359 MB / 0.7794 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