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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001001/0.001005, allocations: 92.16 kB / 16.02 MB, free: 80 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.001316/0.001316, allocations: 172.4 kB / 16.92 MB, free: 6.652 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.445/1.445, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.83/2.83, allocations: 462.6 MB / 0.737 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 17.34 kB / 0.9034 GB, free: 36.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3854, allocations: 159.6 MB / 1.059 GB, free: 5.012 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.001344/0.3868, allocations: 0.6311 MB / 1.06 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002062/0.3889, allocations: 1.295 MB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.389, allocations: 4 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001244/0.3891, allocations: 11.86 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.012e-05/0.3892, allocations: 23.84 kB / 1.061 GB, free: 3.035 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007832/0.39, allocations: 229.7 kB / 1.061 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003324/0.3904, allocations: 251.5 kB / 1.062 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3906, allocations: 86.06 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.3908, allocations: 79.75 kB / 1.062 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.3909, allocations: 83.58 kB / 1.062 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.235e-05/0.391, allocations: 8 kB / 1.062 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.707e-05/0.3911, allocations: 23.98 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.263e-05/0.3912, allocations: 19.88 kB / 1.062 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.3913, allocations: 117.2 kB / 1.062 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002925/0.3916, allocations: 251.6 kB / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3916, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.803e-06/0.3916, allocations: 0 / 1.062 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.491e-05/0.3917, allocations: 4 kB / 1.062 GB, free: 1.906 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.0007777/0.3924, allocations: 482.2 kB / 1.063 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.3925, allocations: 11.97 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001074/0.3926, allocations: 20.75 kB / 1.063 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006934/0.3933, allocations: 281.5 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.184e-05/0.3934, allocations: 20.38 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.3934, allocations: 24.36 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.3937, allocations: 127.6 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3937, allocations: 3.938 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.3937, allocations: 4 kB / 1.063 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.3938, allocations: 4 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3939, allocations: 83.94 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009093/0.3948, allocations: 0.5889 MB / 1.064 GB, free: 112 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.3951, allocations: 94.66 kB / 1.064 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.746e-05/0.3952, allocations: 36.84 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3953, allocations: 4 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.3955, allocations: 107.3 kB / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=12): time 2.514e-06/0.3955, allocations: 0 / 1.064 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12): time 0.0003765/0.3959, allocations: 173.3 kB / 1.064 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.3959, allocations: 55.39 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3961, allocations: 175.8 kB / 1.065 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.3961, allocations: 33.7 kB / 1.065 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3963, allocations: 124.3 kB / 1.065 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.521e-05/0.3963, allocations: 23.62 kB / 1.065 GB, free: 15.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.3963, allocations: 33.7 kB / 1.065 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3965, allocations: 326.8 kB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3967, allocations: 79.89 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.3969, allocations: 135.1 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/0.3972, allocations: 228.5 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/0.3972, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005497/0.3978, allocations: 324.6 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 6.084e-05/0.3978, allocations: 68.95 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.545e-06/0.3978, allocations: 0 / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3979, allocations: 4 kB / 1.066 GB, free: 13.97 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.311e-05/0.398, allocations: 19.94 kB / 1.066 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.398, allocations: 7.984 kB / 1.066 GB, free: 13.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.3984, allocations: 76.03 kB / 1.066 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.3984, allocations: 16 kB / 1.066 GB, free: 13.85 MB / 0.8262 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.000156/0.3986, allocations: 149.7 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.529e-05/0.3986, allocations: 15.75 kB / 1.066 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.3989, allocations: 139.5 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3989, allocations: 0 / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3989, allocations: 4 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.3989, allocations: 7.984 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.3991, allocations: 225.6 kB / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3991, allocations: 0 / 1.067 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.948e-05/0.3992, allocations: 23.86 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3992, allocations: 3.938 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3992, allocations: 0 / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3993, allocations: 4 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3993, allocations: 0 / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.3995, allocations: 164.9 kB / 1.067 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.356e-05/0.3996, allocations: 100.9 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.323e-05/0.3996, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.711e-05/0.3997, allocations: 7.984 kB / 1.067 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.3997, allocations: 15.98 kB / 1.067 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.3997, allocations: 4 kB / 1.067 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.924e-05/0.3998, allocations: 128.2 kB / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3e-07/0.3999, allocations: 0 / 1.067 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002793/0.4001, allocations: 43.94 kB / 1.067 GB, free: 12.73 MB / 0.8262 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.0001802/0.4003, allocations: 112.6 kB / 1.067 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004435/0.4008, allocations: 286.6 kB / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4008, allocations: 0 / 1.067 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.4009, allocations: 59.89 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.4012, allocations: 44.5 kB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.4019, allocations: 353.9 kB / 1.068 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.4022, allocations: 0.7243 MB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.494e-05/0.4023, allocations: 19.44 kB / 1.069 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of SimCode: time 5.81e-07/0.4023, allocations: 3.938 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of Templates: time 0.00491/0.4072, allocations: 2.457 MB / 1.071 GB, free: 8.621 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/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