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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.009955/0.009955, allocations: 99.89 kB / 15.73 MB, free: 6.012 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.002086/0.002086, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.364/2.364, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.681/3.681, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 64.08 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.149/1.151, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.003252/1.154, allocations: 0.9298 MB / 1.088 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002365/1.157, allocations: 1.258 MB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.866e-05/1.157, allocations: 1.188 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/1.157, allocations: 19.3 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/1.157, allocations: 28.3 kB / 1.09 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001108/1.158, allocations: 250.6 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005279/1.159, allocations: 312.5 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/1.159, allocations: 93.69 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/1.159, allocations: 119.4 kB / 1.09 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002574/1.16, allocations: 107.6 kB / 1.09 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-05/1.16, allocations: 29.53 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/1.16, allocations: 41.42 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.408e-05/1.16, allocations: 37.86 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002045/1.16, allocations: 113 kB / 1.091 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000668/1.161, allocations: 335.3 kB / 1.091 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.161, allocations: 5.125 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.376e-06/1.161, allocations: 0 / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.161, allocations: 7.938 kB / 1.091 GB, free: 3.055 MB / 0.8575 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.001039/1.162, allocations: 0.5177 MB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/1.162, allocations: 9.5 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.907e-05/1.162, allocations: 42.08 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/1.162, allocations: 24.83 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009128/1.163, allocations: 281.7 kB / 1.092 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/1.163, allocations: 17.83 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.336e-05/1.163, allocations: 26.47 kB / 1.092 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/1.164, allocations: 123.2 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/1.164, allocations: 0.6562 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.164, allocations: 5.969 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/1.164, allocations: 2.406 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002891/1.164, allocations: 84.12 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001259/1.165, allocations: 0.5875 MB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/1.166, allocations: 100.5 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/1.166, allocations: 35.97 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/1.166, allocations: 1.984 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000361/1.166, allocations: 104.8 kB / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.284e-06/1.166, allocations: 0 / 1.093 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.0005697/1.167, allocations: 173.6 kB / 1.093 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.167, allocations: 54.2 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/1.167, allocations: 177.9 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.919e-05/1.167, allocations: 34.22 kB / 1.093 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/1.167, allocations: 127.8 kB / 1.093 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/1.167, allocations: 26.69 kB / 1.094 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/1.168, allocations: 70.25 kB / 1.094 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.572e-05/1.168, allocations: 323.5 kB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002947/1.168, allocations: 79.09 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000312/1.168, allocations: 121.9 kB / 1.094 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/1.169, allocations: 224 kB / 1.094 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/1.169, allocations: 8.562 kB / 1.094 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0008949/1.17, allocations: 330.8 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 6.241e-05/1.17, allocations: 67.47 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/1.17, allocations: 1.969 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.17, allocations: 2.703 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/1.17, allocations: 16.81 kB / 1.095 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.17, allocations: 7.438 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005236/1.171, allocations: 60.22 kB / 1.095 GB, free: 232 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.328e-05/1.171, allocations: 19.34 kB / 1.095 GB, free: 228 kB / 0.8575 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.0001955/1.171, allocations: 150.6 kB / 1.095 GB, free: 88 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/1.171, allocations: 17.38 kB / 1.095 GB, free: 76 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/1.171, allocations: 145.4 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.171, allocations: 2.125 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.733e-05/1.171, allocations: 0.7031 kB / 1.095 GB, free: 0 / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.171, allocations: 1.531 kB / 1.095 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/1.172, allocations: 244.3 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.172, allocations: 0 / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/1.172, allocations: 12.48 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/1.172, allocations: 1.219 kB / 1.095 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/1.172, allocations: 7.578 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.172, allocations: 0 / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.172, allocations: 0.875 kB / 1.095 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004053/1.172, allocations: 158 kB / 1.095 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.492e-05/1.172, allocations: 93.95 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/1.173, allocations: 2.828 kB / 1.096 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.104e-05/1.173, allocations: 6 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.023e-05/1.173, allocations: 13.53 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/1.173, allocations: 9.359 kB / 1.096 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001671/1.173, allocations: 120.6 kB / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/1.173, allocations: 0 / 1.096 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005358/1.173, allocations: 47.75 kB / 1.096 GB, free: 15.45 MB / 0.8731 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.0007944/1.174, allocations: 0.7041 MB / 1.096 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006988/1.175, allocations: 291.4 kB / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.175, allocations: 0 / 1.097 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001618/1.175, allocations: 53.38 kB / 1.097 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004854/1.176, allocations: 45.09 kB / 1.097 GB, free: 14.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004136/1.18, allocations: 2.132 MB / 1.099 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/1.18, allocations: 0.7222 MB / 1.1 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001564/1.18, allocations: 25.97 kB / 1.1 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/1.181, allocations: 51.23 kB / 1.1 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of SimCode: time 5.51e-07/1.181, allocations: 4 kB / 1.1 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2576/1.438, allocations: 4.322 MB / 1.104 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.79/18.23, allocations: 10.44 kB / 1.104 GB, free: 11.68 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 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.csv","/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