Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.ZoneGroups.Validation.ZoneGroupSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ahuMod.uOpeMod.1.|ahuMod.uOpeMod.2.|ahuMod.uOpeMod.3.|ahuMod.yAhuOpeMod",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ahuMod.uOpeMod.1.|ahuMod.uOpeMod.2.|ahuMod.uOpeMod.3.|ahuMod.yAhuOpeMod",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001396, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002927/0.002927, allocations: 195 kB / 16.14 MB, free: 6.656 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.539/1.539, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.942/2.942, allocations: 461.9 MB / 0.7342 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 66.58 kB / 0.8984 GB, free: 37.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.398/0.3993, allocations: 157.4 MB / 1.052 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.003067/0.4024, allocations: 0.9855 MB / 1.053 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.4044, allocations: 1.295 MB / 1.054 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.4045, allocations: 4 kB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.4047, allocations: 11.81 kB / 1.054 GB, free: 6.582 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.4047, allocations: 19.84 kB / 1.054 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008028/0.4055, allocations: 241.6 kB / 1.055 GB, free: 6.332 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003918/0.4059, allocations: 251.5 kB / 1.055 GB, free: 6.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.4062, allocations: 82.06 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4063, allocations: 87.69 kB / 1.055 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.4065, allocations: 87.64 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.4065, allocations: 16 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.4066, allocations: 28 kB / 1.055 GB, free: 5.793 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001338/0.4068, allocations: 35.83 kB / 1.055 GB, free: 5.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.00014/0.4069, allocations: 95.52 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.4073, allocations: 315.3 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.4073, allocations: 0 / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4073, allocations: 4 kB / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4074, allocations: 0 / 1.056 GB, free: 5.352 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0009069/0.4083, allocations: 0.5139 MB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4083, allocations: 8.031 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.293e-05/0.4084, allocations: 24.73 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006868/0.4091, allocations: 285.4 kB / 1.056 GB, free: 4.422 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.4091, allocations: 12.38 kB / 1.056 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/0.4092, allocations: 16.38 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.4095, allocations: 123.7 kB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.4095, allocations: 3.938 kB / 1.057 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.4095, allocations: 4 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4095, allocations: 0 / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001676/0.4097, allocations: 95.94 kB / 1.057 GB, free: 4.168 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.4107, allocations: 0.585 MB / 1.057 GB, free: 3.523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003392/0.4111, allocations: 106.6 kB / 1.057 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.523e-05/0.4112, allocations: 36.83 kB / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.4112, allocations: 0 / 1.057 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002665/0.4115, allocations: 103.3 kB / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.4115, allocations: 0 / 1.057 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.000439/0.4119, allocations: 177.2 kB / 1.058 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.412, allocations: 55.41 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.4121, allocations: 174.9 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.4122, allocations: 33.7 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.4123, allocations: 128.2 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.4124, allocations: 35.59 kB / 1.058 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.4125, allocations: 57.69 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002067/0.4127, allocations: 326.8 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.4129, allocations: 83.94 kB / 1.058 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4131, allocations: 131 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000341/0.4135, allocations: 220.2 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.4135, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005645/0.4141, allocations: 332.6 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002362/0.4143, allocations: 63.39 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.4143, allocations: 4.188 kB / 1.059 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.4143, allocations: 4 kB / 1.059 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.408e-05/0.4144, allocations: 12 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.4144, allocations: 7.984 kB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003254/0.4148, allocations: 55.84 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.4148, allocations: 12 kB / 1.059 GB, free: 1.25 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,groTwo.booPul.y,$PRE.groTwo.booPul.y,groOne.booPul.y,$PRE.groOne.booPul.y,ahuMod.yAhuOpeMod,ahuMod.uOpeMod[2],ahuMod.uOpeMod[1],groThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * 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.0001576/0.415, allocations: 150.8 kB / 1.059 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.73e-05/0.415, allocations: 19.75 kB / 1.059 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002791/0.4153, allocations: 150.9 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.4153, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.4153, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.4153, allocations: 0 / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.4156, allocations: 233.6 kB / 1.06 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.4156, allocations: 8 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.4156, allocations: 15.92 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4157, allocations: 4 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.4157, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.4157, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4157, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002323/0.4159, allocations: 156.9 kB / 1.06 GB, free: 456 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.41e-05/0.416, allocations: 96.8 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.416, allocations: 4 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.394e-05/0.4161, allocations: 11.98 kB / 1.06 GB, free: 324 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.363e-05/0.4162, allocations: 15.92 kB / 1.06 GB, free: 308 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.4162, allocations: 4 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001125/0.4163, allocations: 119.2 kB / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4163, allocations: 0 / 1.06 GB, free: 184 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002771/0.4166, allocations: 43.94 kB / 1.06 GB, free: 140 kB / 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: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,ahuMod.uOpeMod[1],ahuMod.uOpeMod[2],ahuMod.yAhuOpeMod,groOne.booPul.y,groTwo.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.0002472/0.4168, allocations: 114.8 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007437/0.4176, allocations: 286.7 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4176, allocations: 7.938 kB / 1.061 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.4177, allocations: 43.98 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.4181, allocations: 40.12 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.4189, allocations: 325.7 kB / 1.061 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.4193, allocations: 0.7321 MB / 1.062 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.4194, allocations: 37.39 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.519e-05/0.4195, allocations: 19.42 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of SimCode: time 4.7e-07/0.4195, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of Templates: time 0.006832/0.4263, allocations: 2.568 MB / 1.064 GB, free: 11.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches