Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.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_9_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_9_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.0009296/0.0009296, 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.001265/0.001265, allocations: 173 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.513/1.513, 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 9.1.2-maint.9.1.x/package.mo): time 2.526/2.526, allocations: 390.9 MB / 0.667 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004165, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.805/0.8054, allocations: 142.4 MB / 0.9557 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.001098/0.8066, allocations: 0.6321 MB / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001555/0.8081, allocations: 1.281 MB / 0.9576 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.8082, allocations: 6.344 kB / 0.9576 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.8083, allocations: 7.922 kB / 0.9576 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.19e-05/0.8084, allocations: 26.09 kB / 0.9576 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006321/0.8091, allocations: 231.6 kB / 0.9579 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002417/0.8093, allocations: 255.6 kB / 0.9581 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002029/0.8095, allocations: 82.5 kB / 0.9582 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.8096, allocations: 86.09 kB / 0.9583 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.8097, allocations: 76.75 kB / 0.9583 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.8098, allocations: 11 kB / 0.9583 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.8099, allocations: 28.09 kB / 0.9584 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.8099, allocations: 15.09 kB / 0.9584 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.934e-05/0.81, allocations: 119.2 kB / 0.9585 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000217/0.8102, allocations: 246.5 kB / 0.9587 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8103, allocations: 0 / 0.9587 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8103, allocations: 0 / 0.9587 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.8103, allocations: 5.312 kB / 0.9587 GB, free: 5.523 MB / 0.7169 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.0005209/0.8108, allocations: 479.1 kB / 0.9592 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.8108, allocations: 8.25 kB / 0.9592 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.8109, allocations: 21.12 kB / 0.9592 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005854/0.8115, allocations: 298.2 kB / 0.9595 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.8116, allocations: 12.62 kB / 0.9595 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.615e-05/0.8116, allocations: 26.11 kB / 0.9595 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002353/0.8118, allocations: 128 kB / 0.9597 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.8119, allocations: 0 / 0.9597 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.8119, allocations: 9.234 kB / 0.9597 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.8119, allocations: 2.656 kB / 0.9597 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.8121, allocations: 90.03 kB / 0.9598 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007368/0.8128, allocations: 0.5766 MB / 0.9603 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.8131, allocations: 96.12 kB / 0.9604 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.8132, allocations: 35.44 kB / 0.9605 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.8132, allocations: 9.094 kB / 0.9605 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000214/0.8134, allocations: 113.8 kB / 0.9606 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.8134, allocations: 0 / 0.9606 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0003657/0.8138, allocations: 164.5 kB / 0.9607 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.8138, allocations: 60.7 kB / 0.9608 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.814, allocations: 170.7 kB / 0.9609 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.111e-05/0.814, allocations: 29.83 kB / 0.961 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.8141, allocations: 139.2 kB / 0.9611 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.8141, allocations: 23.78 kB / 0.9611 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/0.8142, allocations: 34.08 kB / 0.9612 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.8142, allocations: 321.6 kB / 0.9615 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.8144, allocations: 83.81 kB / 0.9616 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/0.8146, allocations: 129.4 kB / 0.9617 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002503/0.8149, allocations: 217.5 kB / 0.9619 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8149, allocations: 4 kB / 0.9619 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005453/0.8154, allocations: 323.9 kB / 0.9622 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.648e-05/0.8155, allocations: 68.36 kB / 0.9623 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8155, allocations: 1.375 kB / 0.9623 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.8155, allocations: 2.688 kB / 0.9623 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.823e-05/0.8156, allocations: 17.66 kB / 0.9623 GB, free: 2.453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.8156, allocations: 6.891 kB / 0.9623 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003608/0.816, allocations: 82.34 kB / 0.9624 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.816, allocations: 11.97 kB / 0.9624 GB, free: 2.418 MB / 0.7169 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.000127/0.8162, allocations: 149.8 kB / 0.9625 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.8162, allocations: 13.72 kB / 0.9625 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.8165, allocations: 143.2 kB / 0.9627 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.8165, allocations: 2.062 kB / 0.9627 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8165, allocations: 0 / 0.9627 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.8165, allocations: 0 / 0.9627 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/0.8167, allocations: 240.2 kB / 0.9629 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.8167, allocations: 0 / 0.9629 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.238e-05/0.8168, allocations: 18.3 kB / 0.9629 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.8168, allocations: 1.375 kB / 0.9629 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.8168, allocations: 1.5 kB / 0.9629 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.8168, allocations: 3.938 kB / 0.9629 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.8168, allocations: 1.312 kB / 0.9629 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.8171, allocations: 163.5 kB / 0.9631 GB, free: 1.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.8171, allocations: 92.8 kB / 0.9632 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.311e-05/0.8171, allocations: 1.219 kB / 0.9632 GB, free: 1.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.422e-05/0.8172, allocations: 9.297 kB / 0.9632 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.1e-05/0.8173, allocations: 9.984 kB / 0.9632 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.8173, allocations: 11.61 kB / 0.9632 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001054/0.8174, allocations: 122.4 kB / 0.9633 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8174, allocations: 0 / 0.9633 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002966/0.8177, allocations: 47.12 kB / 0.9634 GB, free: 1.562 MB / 0.7169 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.0001809/0.8179, allocations: 112.5 kB / 0.9635 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004783/0.8184, allocations: 286.5 kB / 0.9637 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.8184, allocations: 0 / 0.9637 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.8185, allocations: 54.88 kB / 0.9638 GB, free: 1.234 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.8188, allocations: 40.91 kB / 0.9638 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.8195, allocations: 359.2 kB / 0.9642 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.8197, allocations: 0.7248 MB / 0.9649 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.8198, allocations: 16.94 kB / 0.9649 GB, free: 200 kB / 0.7169 GB Notification: Performance of SimCode: time 6.31e-07/0.8198, allocations: 0 / 0.9649 GB, free: 200 kB / 0.7169 GB Notification: Performance of Templates: time 0.005791/0.8256, allocations: 2.461 MB / 0.9673 GB, free: 14.94 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches