Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001437/0.001436, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.001411/0.001411, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.34/1.34, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.533/2.533, allocations: 469.8 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 63.59 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2925/0.2943, allocations: 159.1 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00241/0.2967, allocations: 1.201 MB / 1.065 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.2985, allocations: 1.373 MB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.2986, allocations: 0 / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 6.383e-05/0.2987, allocations: 15.8 kB / 1.067 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.2988, allocations: 27.78 kB / 1.067 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000703/0.2995, allocations: 283 kB / 1.067 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.3, allocations: 415.9 kB / 1.067 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.3002, allocations: 118.4 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.3004, allocations: 151.5 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.3006, allocations: 151.4 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 6.103e-05/0.3006, allocations: 44 kB / 1.068 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3007, allocations: 59.98 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.481e-05/0.3008, allocations: 67.7 kB / 1.068 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001501/0.301, allocations: 155.4 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003841/0.3014, allocations: 375.4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3014, allocations: 4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.936e-06/0.3014, allocations: 0 / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.3014, allocations: 3.938 kB / 1.068 GB, free: 10.68 MB / 0.8419 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.0008628/0.3023, allocations: 0.6033 MB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3023, allocations: 12.62 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.259e-05/0.3024, allocations: 28.66 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006693/0.3031, allocations: 335.6 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.3031, allocations: 24.31 kB / 1.069 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.7e-05/0.3032, allocations: 36.36 kB / 1.069 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.3035, allocations: 177.8 kB / 1.07 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3035, allocations: 0 / 1.07 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.995e-05/0.3035, allocations: 8 kB / 1.07 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3035, allocations: 4 kB / 1.07 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002107/0.3038, allocations: 115.9 kB / 1.07 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3048, allocations: 0.6913 MB / 1.07 GB, free: 8.496 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004095/0.3052, allocations: 166.8 kB / 1.071 GB, free: 8.324 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3053, allocations: 68.83 kB / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.846e-05/0.3054, allocations: 0 / 1.071 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.3056, allocations: 137.3 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.392e-06/0.3056, allocations: 0 / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.0004362/0.3061, allocations: 221.3 kB / 1.071 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.3061, allocations: 51.41 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3063, allocations: 219.1 kB / 1.071 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.721e-05/0.3064, allocations: 37.7 kB / 1.071 GB, free: 7.555 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.3065, allocations: 140.5 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.81e-05/0.3066, allocations: 51.34 kB / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.3067, allocations: 77.67 kB / 1.072 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3069, allocations: 334.8 kB / 1.072 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002098/0.3071, allocations: 99.89 kB / 1.072 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002412/0.3073, allocations: 158.8 kB / 1.072 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3076, allocations: 216.6 kB / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.3076, allocations: 0 / 1.072 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000603/0.3082, allocations: 359.7 kB / 1.073 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.3083, allocations: 73.64 kB / 1.073 GB, free: 5.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3083, allocations: 8 kB / 1.073 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3084, allocations: 4.047 kB / 1.073 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.847e-05/0.3084, allocations: 19.97 kB / 1.073 GB, free: 5.949 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3085, allocations: 7.938 kB / 1.073 GB, free: 5.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003848/0.3088, allocations: 75.67 kB / 1.073 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/0.3089, allocations: 27.92 kB / 1.073 GB, free: 5.84 MB / 0.8419 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.0001682/0.3091, allocations: 143.6 kB / 1.073 GB, free: 5.691 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.3091, allocations: 19.75 kB / 1.073 GB, free: 5.672 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.3092, allocations: 29.86 kB / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3092, allocations: 0 / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3092, allocations: 0 / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3092, allocations: 0 / 1.073 GB, free: 5.648 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.3095, allocations: 293.4 kB / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3095, allocations: 0 / 1.073 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.3096, allocations: 23.92 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3096, allocations: 11.88 kB / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.3096, allocations: 0 / 1.073 GB, free: 5.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3096, allocations: 3.984 kB / 1.073 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3096, allocations: 0 / 1.073 GB, free: 5.273 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.3099, allocations: 198.7 kB / 1.074 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.491e-05/0.31, allocations: 104.8 kB / 1.074 GB, free: 4.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.31, allocations: 11.92 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.116e-05/0.3101, allocations: 11.98 kB / 1.074 GB, free: 4.918 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.552e-05/0.3102, allocations: 35.95 kB / 1.074 GB, free: 4.883 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3102, allocations: 4 kB / 1.074 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001287/0.3104, allocations: 144.4 kB / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3104, allocations: 0 / 1.074 GB, free: 4.738 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000284/0.3107, allocations: 67.84 kB / 1.074 GB, free: 4.672 MB / 0.8419 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.0001634/0.3108, allocations: 116.4 kB / 1.074 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005287/0.3114, allocations: 346.6 kB / 1.074 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3114, allocations: 0 / 1.074 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.3115, allocations: 89.61 kB / 1.074 GB, free: 4.098 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3118, allocations: 36.22 kB / 1.074 GB, free: 4.062 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007106/0.3126, allocations: 473.9 kB / 1.075 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.3129, allocations: 0.7479 MB / 1.076 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.535e-05/0.313, allocations: 23.44 kB / 1.076 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.313, allocations: 0 / 1.076 GB, free: 2.773 MB / 0.8419 GB Notification: Performance of Templates: time 0.3937/0.7067, allocations: 3.304 MB / 1.079 GB, free: 21.7 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.makefile (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & ./Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches