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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008476/0.0008477, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.005091/0.005091, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.162/1.162, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.001/2.001, allocations: 390.9 MB / 0.6664 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004544, allocations: 11.98 kB / 0.8161 GB, free: 13.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4989, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.0008019/0.4997, allocations: 0.6295 MB / 0.9558 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001219/0.501, allocations: 1.288 MB / 0.9571 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.535e-05/0.501, allocations: 2.062 kB / 0.9571 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 7.598e-05/0.5011, allocations: 8.828 kB / 0.9571 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.064e-05/0.5012, allocations: 21.83 kB / 0.9571 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.5017, allocations: 233.1 kB / 0.9573 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.5019, allocations: 251 kB / 0.9576 GB, free: 5.922 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.5021, allocations: 94.88 kB / 0.9576 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.5022, allocations: 82.17 kB / 0.9577 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.031e-05/0.5023, allocations: 72.09 kB / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.5023, allocations: 9.969 kB / 0.9578 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.415e-05/0.5024, allocations: 24.86 kB / 0.9578 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.075e-05/0.5024, allocations: 23.39 kB / 0.9578 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.111e-05/0.5025, allocations: 111.5 kB / 0.958 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.5027, allocations: 312.5 kB / 0.9583 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.5027, allocations: 0 / 0.9583 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5027, allocations: 4 kB / 0.9583 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.5027, allocations: 0 / 0.9583 GB, free: 5.418 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.000406/0.5032, allocations: 480.5 kB / 0.9587 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.5032, allocations: 10.06 kB / 0.9587 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.5032, allocations: 46.67 kB / 0.9588 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.253e-05/0.5033, allocations: 21.66 kB / 0.9588 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.5038, allocations: 291.7 kB / 0.9591 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.5038, allocations: 12.62 kB / 0.9591 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.5039, allocations: 21.88 kB / 0.9591 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.504, allocations: 123.6 kB / 0.9592 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.5041, allocations: 3.938 kB / 0.9592 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.5041, allocations: 5.375 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5041, allocations: 2.75 kB / 0.9592 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.5042, allocations: 89.25 kB / 0.9593 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.5048, allocations: 0.5769 MB / 0.9599 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000217/0.505, allocations: 103.8 kB / 0.96 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.939e-05/0.5051, allocations: 39.89 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.5051, allocations: 1.375 kB / 0.96 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001368/0.5053, allocations: 108.4 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.422e-06/0.5053, allocations: 1.312 kB / 0.9601 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002782/0.5056, allocations: 168.1 kB / 0.9603 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.19e-05/0.5056, allocations: 60.81 kB / 0.9603 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.5057, allocations: 175.2 kB / 0.9605 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.5057, allocations: 29.61 kB / 0.9605 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.5058, allocations: 122.7 kB / 0.9607 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.5058, allocations: 32.55 kB / 0.9607 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.636e-05/0.5059, allocations: 32.95 kB / 0.9607 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.595e-05/0.5059, allocations: 321.8 kB / 0.961 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5061, allocations: 79.7 kB / 0.9611 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.5062, allocations: 130.3 kB / 0.9612 GB, free: 2.777 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/0.5064, allocations: 215.1 kB / 0.9614 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5064, allocations: 4.969 kB / 0.9614 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004275/0.5069, allocations: 319.4 kB / 0.9617 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.5069, allocations: 72.33 kB / 0.9618 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5069, allocations: 2.031 kB / 0.9618 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.5069, allocations: 2.531 kB / 0.9618 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.493e-05/0.507, allocations: 25.23 kB / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.507, allocations: 2.781 kB / 0.9618 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003321/0.5074, allocations: 83.56 kB / 0.9619 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.5074, allocations: 14.67 kB / 0.9619 GB, free: 2.266 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.0001024/0.5075, allocations: 148.2 kB / 0.9621 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.847e-05/0.5075, allocations: 14 kB / 0.9621 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.5078, allocations: 143.1 kB / 0.9622 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5078, allocations: 8.922 kB / 0.9622 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5078, allocations: 0.7188 kB / 0.9622 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5078, allocations: 0 / 0.9622 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.5079, allocations: 240.2 kB / 0.9625 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5079, allocations: 1.344 kB / 0.9625 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.824e-05/0.508, allocations: 13.62 kB / 0.9625 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.508, allocations: 0 / 0.9625 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.508, allocations: 13.73 kB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.508, allocations: 1 kB / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.508, allocations: 0 / 0.9625 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.5082, allocations: 160.3 kB / 0.9626 GB, free: 1.637 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.315e-05/0.5082, allocations: 92.59 kB / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5083, allocations: 1.344 kB / 0.9627 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.139e-05/0.5083, allocations: 6.031 kB / 0.9627 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.5083, allocations: 8.953 kB / 0.9627 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.5084, allocations: 7.969 kB / 0.9628 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.49e-05/0.5084, allocations: 130.3 kB / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5084, allocations: 0 / 0.9629 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002454/0.5087, allocations: 47.5 kB / 0.9629 GB, free: 1.406 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.0003334/0.509, allocations: 0.7076 MB / 0.9636 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003119/0.5093, allocations: 285.9 kB / 0.9639 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5094, allocations: 5.344 kB / 0.9639 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.5094, allocations: 58.64 kB / 0.9639 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.5097, allocations: 32.78 kB / 0.964 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.5118, allocations: 2.164 MB / 0.9661 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002176/0.512, allocations: 0.7321 MB / 0.9668 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.3e-05/0.5121, allocations: 27.09 kB / 0.9668 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.724e-05/0.5122, allocations: 47.86 kB / 0.9669 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.5122, allocations: 1.406 kB / 0.9669 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.786/2.298, allocations: 3.998 MB / 0.9708 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001953/2.298, allocations: 222.1 kB / 0.971 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.002/4.3, allocations: 1.438 kB / 0.971 GB, free: 11.81 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.fmu > 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