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.001812/0.001812, allocations: 103.7 kB / 15.98 MB, free: 6.355 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.002053/0.002053, allocations: 195.3 kB / 16.91 MB, free: 6.195 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.457/1.457, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.716/2.716, allocations: 469.4 MB / 0.7423 GB, free: 3.863 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 62.19 kB / 0.9083 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3696, allocations: 159.1 MB / 1.064 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.003089/0.3727, allocations: 0.9778 MB / 1.065 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.3747, allocations: 1.26 MB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001385/0.3749, allocations: 0 / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.3752, allocations: 11.88 kB / 1.066 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001038/0.3753, allocations: 23.84 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.3761, allocations: 237.4 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000445/0.3766, allocations: 299.5 kB / 1.066 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002318/0.3768, allocations: 86.06 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.377, allocations: 115.7 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001943/0.3772, allocations: 99.66 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.3773, allocations: 28 kB / 1.067 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3775, allocations: 43.98 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 6.588e-05/0.3775, allocations: 39.84 kB / 1.067 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3777, allocations: 111.5 kB / 1.067 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003821/0.3781, allocations: 259.7 kB / 1.067 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3781, allocations: 4 kB / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3781, allocations: 0 / 1.067 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.3781, allocations: 0 / 1.067 GB, free: 11.83 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000901/0.379, allocations: 0.5061 MB / 1.068 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3791, allocations: 12.62 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.3792, allocations: 24.73 kB / 1.068 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007611/0.38, allocations: 288.8 kB / 1.068 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.803e-05/0.38, allocations: 20.25 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.602e-05/0.3801, allocations: 16.38 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003075/0.3804, allocations: 124.4 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.3804, allocations: 3.938 kB / 1.068 GB, free: 10.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3805, allocations: 11.94 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.3805, allocations: 4 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.3807, allocations: 87.88 kB / 1.068 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.3818, allocations: 0.589 MB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.3821, allocations: 94.66 kB / 1.069 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.464e-05/0.3822, allocations: 40.83 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.3822, allocations: 0 / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003347/0.3826, allocations: 103.3 kB / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.3826, allocations: 0 / 1.069 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12): time 0.0004272/0.383, allocations: 173.3 kB / 1.069 GB, free: 9.559 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.3831, allocations: 55.41 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.3833, allocations: 175.5 kB / 1.069 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.3834, allocations: 33.7 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.3835, allocations: 120.3 kB / 1.07 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3835, allocations: 27.61 kB / 1.07 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000157/0.3837, allocations: 69.67 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.3838, allocations: 322.8 kB / 1.07 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.384, allocations: 79.95 kB / 1.07 GB, free: 8.648 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.3843, allocations: 129.8 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.3846, allocations: 219.3 kB / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3846, allocations: 0 / 1.07 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006201/0.3852, allocations: 336.6 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.482e-05/0.3853, allocations: 67.39 kB / 1.071 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.3854, allocations: 3.938 kB / 1.071 GB, free: 7.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.3854, allocations: 4 kB / 1.071 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.3855, allocations: 12 kB / 1.071 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.3855, allocations: 7.984 kB / 1.071 GB, free: 7.801 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003529/0.3859, allocations: 52.03 kB / 1.071 GB, free: 7.75 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.765e-05/0.3859, allocations: 16 kB / 1.071 GB, free: 7.734 MB / 0.8419 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.0001833/0.3861, allocations: 145.7 kB / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.3862, allocations: 19.75 kB / 1.071 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003156/0.3865, allocations: 139 kB / 1.071 GB, free: 7.422 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.3865, allocations: 3.938 kB / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3865, allocations: 0 / 1.071 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3865, allocations: 4 kB / 1.071 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002703/0.3868, allocations: 237.6 kB / 1.071 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3868, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.3869, allocations: 20.02 kB / 1.071 GB, free: 7.113 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3869, allocations: 3.938 kB / 1.071 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3869, allocations: 4 kB / 1.071 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3869, allocations: 3.938 kB / 1.071 GB, free: 7.102 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.387, allocations: 4 kB / 1.071 GB, free: 7.098 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.3872, allocations: 160.9 kB / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.85e-05/0.3873, allocations: 92.86 kB / 1.072 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.3873, allocations: 7.938 kB / 1.072 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.3874, allocations: 7.984 kB / 1.072 GB, free: 6.797 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.3874, allocations: 7.984 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3875, allocations: 8 kB / 1.072 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001142/0.3876, allocations: 125.5 kB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.81e-07/0.3876, allocations: 0 / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002828/0.3879, allocations: 43.94 kB / 1.072 GB, free: 6.617 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: 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.0002221/0.3881, allocations: 108.6 kB / 1.072 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004897/0.3886, allocations: 306.5 kB / 1.072 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3886, allocations: 0 / 1.072 GB, free: 6.18 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.3887, allocations: 43.98 kB / 1.072 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3891, allocations: 41.97 kB / 1.072 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006849/0.3898, allocations: 367.6 kB / 1.073 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3901, allocations: 0.7202 MB / 1.073 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.3902, allocations: 23.42 kB / 1.073 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of SimCode: time 7.21e-07/0.3902, allocations: 192 / 1.073 GB, free: 4.934 MB / 0.8419 GB Notification: Performance of Templates: time 0.005587/0.3958, allocations: 2.487 MB / 1.076 GB, free: 2.477 MB / 0.8419 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/jenkins1/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