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.001254/0.001254, allocations: 109 kB / 16.41 MB, free: 6.469 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.001248/0.001248, allocations: 187 kB / 17.34 MB, free: 5.715 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.274/1.274, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.422/2.422, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6956/0.6968, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.001998/0.6989, allocations: 0.9273 MB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.7003, allocations: 1.264 MB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.7004, allocations: 4 kB / 1.211 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.7005, allocations: 11.81 kB / 1.211 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.508e-05/0.7005, allocations: 31.67 kB / 1.211 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006618/0.7012, allocations: 254.3 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003169/0.7015, allocations: 311.4 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001675/0.7017, allocations: 86.06 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.7018, allocations: 115.7 kB / 1.211 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.702, allocations: 107.6 kB / 1.211 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 4.803e-05/0.702, allocations: 28 kB / 1.211 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.173e-05/0.7021, allocations: 47.92 kB / 1.212 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.663e-05/0.7022, allocations: 39.89 kB / 1.212 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001169/0.7023, allocations: 107.6 kB / 1.212 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.7026, allocations: 342.7 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.7026, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7027, allocations: 0 / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.7027, allocations: 8 kB / 1.212 GB, free: 9.992 MB / 0.9356 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.0006397/0.7033, allocations: 0.5118 MB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.7034, allocations: 8.031 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.861e-05/0.7034, allocations: 20.75 kB / 1.213 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.704, allocations: 284.8 kB / 1.213 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.704, allocations: 12.38 kB / 1.213 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.7041, allocations: 12.38 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.7043, allocations: 134.1 kB / 1.213 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.7043, allocations: 3.938 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.7043, allocations: 4 kB / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.7043, allocations: 0 / 1.213 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.7045, allocations: 87.95 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007485/0.7052, allocations: 0.5772 MB / 1.214 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002498/0.7055, allocations: 106.7 kB / 1.214 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.318e-05/0.7056, allocations: 32.84 kB / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.7056, allocations: 0 / 1.214 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001593/0.7058, allocations: 115.2 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=12): time 4.368e-06/0.7058, allocations: 4 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12): time 0.0003138/0.7061, allocations: 161.5 kB / 1.214 GB, free: 7.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.7061, allocations: 55.41 kB / 1.214 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.7063, allocations: 184 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.7063, allocations: 29.7 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.415e-05/0.7064, allocations: 124.3 kB / 1.214 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.7064, allocations: 35.53 kB / 1.214 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.899e-05/0.7065, allocations: 61.67 kB / 1.214 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.7066, allocations: 330.8 kB / 1.215 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.7068, allocations: 79.91 kB / 1.215 GB, free: 6.816 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.707, allocations: 129.9 kB / 1.215 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.7072, allocations: 213.3 kB / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.7072, allocations: 0 / 1.215 GB, free: 6.426 MB / 0.9356 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004669/0.7077, allocations: 332.6 kB / 1.215 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.7078, allocations: 63.67 kB / 1.216 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.7078, allocations: 11.94 kB / 1.216 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.7078, allocations: 3.984 kB / 1.216 GB, free: 5.992 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.7079, allocations: 19.98 kB / 1.216 GB, free: 5.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.7079, allocations: 3.938 kB / 1.216 GB, free: 5.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.7082, allocations: 63.78 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.7083, allocations: 15.98 kB / 1.216 GB, free: 5.891 MB / 0.9356 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.0001375/0.7084, allocations: 150.2 kB / 1.216 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.071e-05/0.7084, allocations: 11.84 kB / 1.216 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.7087, allocations: 142.9 kB / 1.216 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.7087, allocations: 4 kB / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.7087, allocations: 0 / 1.216 GB, free: 5.566 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.7087, allocations: 3.984 kB / 1.216 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002269/0.7089, allocations: 233.5 kB / 1.216 GB, free: 5.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.7089, allocations: 8 kB / 1.216 GB, free: 5.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.709, allocations: 15.92 kB / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.709, allocations: 0 / 1.216 GB, free: 5.262 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.709, allocations: 4 kB / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.709, allocations: 0 / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.709, allocations: 0 / 1.216 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002013/0.7093, allocations: 156.9 kB / 1.216 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.7093, allocations: 100.8 kB / 1.216 GB, free: 4.969 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.7093, allocations: 8 kB / 1.216 GB, free: 4.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.382e-05/0.7094, allocations: 4 kB / 1.216 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.7094, allocations: 15.98 kB / 1.216 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.938e-06/0.7095, allocations: 4 kB / 1.216 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.326e-05/0.7095, allocations: 123.2 kB / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7095, allocations: 0 / 1.217 GB, free: 4.816 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002529/0.7098, allocations: 40 kB / 1.217 GB, free: 4.777 MB / 0.9356 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.0001243/0.7099, allocations: 104.3 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003798/0.7103, allocations: 298.5 kB / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.7103, allocations: 0 / 1.217 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/0.7104, allocations: 52.64 kB / 1.217 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.7107, allocations: 40.16 kB / 1.217 GB, free: 4.262 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004402/0.7112, allocations: 321.4 kB / 1.217 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002286/0.7114, allocations: 0.7241 MB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.884e-05/0.7114, allocations: 19.44 kB / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.7114, allocations: 0 / 1.218 GB, free: 3.152 MB / 0.9356 GB Notification: Performance of Templates: time 0.003744/0.7152, allocations: 2.491 MB / 1.221 GB, free: 0.6836 MB / 0.9356 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