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.001435/0.001435, allocations: 108 kB / 15.6 MB, free: 132 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.001584/0.001584, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.652/1.652, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.954/2.954, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001989, allocations: 67.89 kB / 0.8693 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00444/1.057, allocations: 1.156 MB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003324/1.06, allocations: 1.371 MB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/1.06, allocations: 4 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.301e-05/1.061, allocations: 23.67 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/1.061, allocations: 43.58 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001317/1.062, allocations: 298.5 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0007682/1.063, allocations: 423.9 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003809/1.063, allocations: 125.1 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/1.064, allocations: 151.5 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002918/1.064, allocations: 143.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001113/1.064, allocations: 48 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/1.064, allocations: 55.92 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/1.064, allocations: 71.75 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002487/1.065, allocations: 151.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008043/1.065, allocations: 478.8 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.065, allocations: 3.938 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.524e-06/1.065, allocations: 0 / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.066, allocations: 0 / 1.022 GB, free: 13.98 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.001536/1.067, allocations: 0.6149 MB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.066e-05/1.067, allocations: 8.031 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/1.067, allocations: 36.56 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001131/1.068, allocations: 323.8 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.968e-05/1.069, allocations: 28.36 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.257e-05/1.069, allocations: 24.38 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004866/1.069, allocations: 173.8 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/1.069, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.264e-05/1.069, allocations: 15.92 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/1.069, allocations: 4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/1.07, allocations: 112 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001434/1.071, allocations: 0.6913 MB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/1.072, allocations: 162.9 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001634/1.072, allocations: 74.59 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/1.072, allocations: 4 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/1.072, allocations: 137 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.094e-06/1.072, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0006639/1.073, allocations: 214.8 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/1.073, allocations: 63.34 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002865/1.073, allocations: 214.8 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/1.073, allocations: 41.69 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/1.074, allocations: 148.5 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/1.074, allocations: 39.47 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/1.074, allocations: 77.67 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.074, allocations: 334.8 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/1.074, allocations: 99.89 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003495/1.075, allocations: 162.8 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004049/1.075, allocations: 214.6 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.075, allocations: 0 / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000853/1.076, allocations: 368.6 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002058/1.076, allocations: 69.52 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/1.076, allocations: 0 / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/1.076, allocations: 4 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/1.076, allocations: 27.92 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.076, allocations: 4 kB / 1.026 GB, free: 9.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000528/1.077, allocations: 79.8 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.665e-05/1.077, allocations: 11.98 kB / 1.026 GB, free: 9.156 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.0002215/1.077, allocations: 158.4 kB / 1.026 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/1.077, allocations: 23.66 kB / 1.026 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/1.077, allocations: 25.86 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.077, allocations: 0 / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/1.077, allocations: 7.938 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/1.077, allocations: 4 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003926/1.078, allocations: 285.5 kB / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/1.078, allocations: 0 / 1.027 GB, free: 8.605 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/1.078, allocations: 15.98 kB / 1.027 GB, free: 8.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.078, allocations: 3.938 kB / 1.027 GB, free: 8.586 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/1.078, allocations: 4 kB / 1.027 GB, free: 8.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/1.078, allocations: 4 kB / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.078, allocations: 0 / 1.027 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/1.078, allocations: 210.5 kB / 1.027 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.72e-05/1.078, allocations: 92.86 kB / 1.027 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/1.078, allocations: 11.94 kB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.568e-05/1.078, allocations: 11.98 kB / 1.027 GB, free: 8.223 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/1.079, allocations: 35.95 kB / 1.027 GB, free: 8.188 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/1.079, allocations: 7.984 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001349/1.079, allocations: 152.2 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.079, allocations: 0 / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003038/1.079, allocations: 55.84 kB / 1.027 GB, free: 7.977 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.0002292/1.079, allocations: 128.4 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005932/1.08, allocations: 342.6 kB / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.08, allocations: 0 / 1.028 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.08, allocations: 79.91 kB / 1.028 GB, free: 7.406 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/1.08, allocations: 44.2 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007756/1.081, allocations: 374.2 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/1.082, allocations: 0.7443 MB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001015/1.082, allocations: 29.94 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/1.082, allocations: 23.42 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of SimCode: time 6.61e-07/1.082, allocations: 0 / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of Templates: time 0.008365/1.09, allocations: 3.484 MB / 1.032 GB, free: 2.699 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=400 -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/jenkins/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