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.0012/0.0012, allocations: 91.06 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.01029/0.01029, allocations: 170.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.727/1.727, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.086/3.086, allocations: 462.7 MB / 0.7364 GB, free: 228 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003922/0.0003923, allocations: 8.812 kB / 0.9028 GB, free: 36.65 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4131, allocations: 159.6 MB / 1.059 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.001574/0.4148, allocations: 0.6389 MB / 1.059 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002393/0.4172, allocations: 1.291 MB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001306/0.4174, allocations: 4 kB / 1.061 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001575/0.4176, allocations: 11.86 kB / 1.061 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001185/0.4177, allocations: 23.84 kB / 1.061 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.4187, allocations: 237.6 kB / 1.061 GB, free: 3.184 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004368/0.4192, allocations: 243.5 kB / 1.061 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.4195, allocations: 86.06 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.4197, allocations: 75.77 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.4199, allocations: 83.58 kB / 1.061 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.4199, allocations: 8 kB / 1.061 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.409e-05/0.42, allocations: 23.98 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.4201, allocations: 19.88 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.4202, allocations: 117.2 kB / 1.061 GB, free: 2.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004373/0.4207, allocations: 311.2 kB / 1.062 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.4207, allocations: 4 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.365e-06/0.4207, allocations: 0 / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.4207, allocations: 4 kB / 1.062 GB, free: 2.223 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.0009333/0.4217, allocations: 474.3 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.4217, allocations: 12.03 kB / 1.062 GB, free: 1.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001167/0.4219, allocations: 24.73 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000903/0.4228, allocations: 282.4 kB / 1.063 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.806e-05/0.4228, allocations: 16.38 kB / 1.063 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.4229, allocations: 28.3 kB / 1.063 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000355/0.4233, allocations: 119.5 kB / 1.063 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.4233, allocations: 3.938 kB / 1.063 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.4233, allocations: 4 kB / 1.063 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4234, allocations: 4 kB / 1.063 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.4235, allocations: 87.94 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.4246, allocations: 0.585 MB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.4249, allocations: 98.66 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.077e-05/0.425, allocations: 32.84 kB / 1.063 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.425, allocations: 8 kB / 1.063 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.4253, allocations: 103.3 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.4253, allocations: 0 / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of matching and sorting (n=12): time 0.0003933/0.4257, allocations: 173.3 kB / 1.064 GB, free: 0 / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.4258, allocations: 55.39 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4259, allocations: 174.8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.519e-05/0.426, allocations: 41.69 kB / 1.064 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4261, allocations: 120.3 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4262, allocations: 27.56 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.371e-05/0.4262, allocations: 33.7 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4264, allocations: 330.8 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.4265, allocations: 79.94 kB / 1.065 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001899/0.4267, allocations: 129.9 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.427, allocations: 217.2 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.4271, allocations: 4 kB / 1.065 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005679/0.4276, allocations: 334.6 kB / 1.065 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.565e-05/0.4277, allocations: 63.39 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4277, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.4277, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.224e-05/0.4278, allocations: 19.98 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4279, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003722/0.4282, allocations: 80.03 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.853e-05/0.4283, allocations: 12 kB / 1.065 GB, free: 14.18 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.0001859/0.4285, allocations: 150.4 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.4285, allocations: 15.75 kB / 1.066 GB, free: 14.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.4288, allocations: 143.5 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4288, allocations: 7.938 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4288, allocations: 0 / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.4288, allocations: 0 / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002091/0.4291, allocations: 237.5 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.4291, allocations: 3.984 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.4291, allocations: 15.92 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.4291, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.4292, allocations: 8 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4292, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4292, allocations: 0 / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002492/0.4294, allocations: 160.9 kB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.915e-05/0.4295, allocations: 96.86 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/0.4296, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.731e-05/0.4296, allocations: 7.984 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.4297, allocations: 15.92 kB / 1.066 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4297, allocations: 7.938 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000104/0.4298, allocations: 119.2 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4298, allocations: 0 / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000293/0.4301, allocations: 43.94 kB / 1.066 GB, free: 13.06 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.0002005/0.4303, allocations: 112.4 kB / 1.066 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.4308, allocations: 282.7 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4308, allocations: 0 / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.4309, allocations: 60.17 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4313, allocations: 44.16 kB / 1.067 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006378/0.4319, allocations: 332.1 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.4323, allocations: 0.7282 MB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.4324, allocations: 29.41 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.649e-05/0.4325, allocations: 15.44 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of SimCode: time 8.12e-07/0.4325, allocations: 3.938 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of Templates: time 0.006294/0.4388, allocations: 2.556 MB / 1.07 GB, free: 8.875 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/jenkins/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