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.001591/0.001591, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.002145/0.002145, allocations: 194.9 kB / 17.3 MB, free: 5.613 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.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.513/2.513, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 60.53 kB / 0.8707 GB, free: 1.418 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3637, allocations: 151.6 MB / 1.019 GB, free: 9.82 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002516/0.3663, allocations: 1.164 MB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.368, allocations: 1.377 MB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.3681, allocations: 4 kB / 1.021 GB, free: 7.25 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.077e-05/0.3682, allocations: 23.67 kB / 1.021 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3683, allocations: 39.59 kB / 1.021 GB, free: 7.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006641/0.369, allocations: 289.7 kB / 1.022 GB, free: 6.91 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004015/0.3694, allocations: 435.8 kB / 1.022 GB, free: 6.48 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.3696, allocations: 120.8 kB / 1.022 GB, free: 6.363 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.3697, allocations: 155.5 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3699, allocations: 163.3 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.37, allocations: 44 kB / 1.023 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.3701, allocations: 59.92 kB / 1.023 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.3702, allocations: 63.83 kB / 1.023 GB, free: 5.887 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.3703, allocations: 151.4 kB / 1.023 GB, free: 5.738 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004624/0.3708, allocations: 490.4 kB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.3708, allocations: 3.984 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.996e-06/0.3708, allocations: 0 / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3708, allocations: 7.938 kB / 1.023 GB, free: 5.246 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.0008176/0.3717, allocations: 0.6071 MB / 1.024 GB, free: 4.578 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3717, allocations: 12.03 kB / 1.024 GB, free: 4.566 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.3718, allocations: 28.66 kB / 1.024 GB, free: 4.539 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006125/0.3724, allocations: 327.7 kB / 1.024 GB, free: 4.18 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.3724, allocations: 20.38 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.3725, allocations: 28.38 kB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.3728, allocations: 177.8 kB / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3728, allocations: 0 / 1.024 GB, free: 3.953 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.3728, allocations: 12 kB / 1.024 GB, free: 3.941 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3728, allocations: 4 kB / 1.024 GB, free: 3.938 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.3731, allocations: 111.9 kB / 1.025 GB, free: 3.828 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009281/0.374, allocations: 0.6873 MB / 1.025 GB, free: 3.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.3744, allocations: 166.9 kB / 1.025 GB, free: 2.918 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3745, allocations: 64.84 kB / 1.025 GB, free: 2.852 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.563e-05/0.3746, allocations: 3.938 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002387/0.3748, allocations: 133.4 kB / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of pre-optimization done (n=20): time 1.583e-06/0.3748, allocations: 0 / 1.026 GB, free: 2.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=20): time 0.0004169/0.3752, allocations: 221.4 kB / 1.026 GB, free: 2.484 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.3753, allocations: 55.34 kB / 1.026 GB, free: 2.418 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.3755, allocations: 215 kB / 1.026 GB, free: 2.199 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.759e-05/0.3756, allocations: 41.7 kB / 1.026 GB, free: 2.152 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.3757, allocations: 144.4 kB / 1.026 GB, free: 2.008 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.577e-05/0.3757, allocations: 51.34 kB / 1.026 GB, free: 1.957 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.3759, allocations: 77.67 kB / 1.026 GB, free: 1.875 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.376, allocations: 334.8 kB / 1.027 GB, free: 1.539 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.3762, allocations: 103.9 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.3765, allocations: 159.8 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.3767, allocations: 217.7 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3768, allocations: 0 / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005463/0.3773, allocations: 354.8 kB / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.3774, allocations: 79.45 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3774, allocations: 3.938 kB / 1.028 GB, free: 0.5625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.3774, allocations: 4 kB / 1.028 GB, free: 0.5586 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.562e-05/0.3775, allocations: 15.94 kB / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.3775, allocations: 0 / 1.028 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003462/0.3779, allocations: 79.75 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.3779, allocations: 16 kB / 1.028 GB, free: 460 kB / 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.0001433/0.3781, allocations: 155.5 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.3781, allocations: 23.66 kB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.382e-05/0.3781, allocations: 21.88 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.3782, allocations: 4 kB / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3782, allocations: 0 / 1.028 GB, free: 244 kB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.3782, allocations: 7.984 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.3784, allocations: 289.5 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3785, allocations: 0 / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.575e-05/0.3785, allocations: 19.98 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.3785, allocations: 3.938 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.3786, allocations: 4 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3786, allocations: 0 / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3786, allocations: 0 / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.3788, allocations: 202.8 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.37e-05/0.3789, allocations: 100.9 kB / 1.028 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.3789, allocations: 11.94 kB / 1.028 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.379, allocations: 11.98 kB / 1.028 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.3792, allocations: 31.95 kB / 1.028 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.3792, allocations: 15.97 kB / 1.028 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001051/0.3793, allocations: 148.2 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3793, allocations: 0 / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002651/0.3796, allocations: 63.84 kB / 1.029 GB, free: 15.26 MB / 0.8106 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.0001487/0.3797, allocations: 124.4 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004592/0.3802, allocations: 344.3 kB / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3802, allocations: 0 / 1.029 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.3803, allocations: 79.91 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.3806, allocations: 46.03 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005679/0.3812, allocations: 376.3 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3815, allocations: 0.7441 MB / 1.03 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3816, allocations: 25.94 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.355e-05/0.3817, allocations: 23.44 kB / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3817, allocations: 0 / 1.03 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of Templates: time 0.006947/0.3886, allocations: 3.477 MB / 1.034 GB, free: 10 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 -s gbode -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