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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem,fileNamePrefix="Buildings_latest_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_latest_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.004375/0.004375, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.00108/0.00108, allocations: 190.6 kB / 16.67 MB, free: 5.969 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.539/2.539, allocations: 469.4 MB / 0.7421 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.88 kB / 1.064 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6755, allocations: 159.1 MB / 1.22 GB, free: 2.285 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.001935/0.6775, allocations: 0.9155 MB / 1.221 GB, free: 1.371 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.6788, allocations: 1.265 MB / 1.222 GB, free: 96 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.286e-05/0.6789, allocations: 3.938 kB / 1.222 GB, free: 92 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.763e-05/0.679, allocations: 11.88 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.21e-05/0.6791, allocations: 31.72 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.6797, allocations: 262.7 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002981/0.68, allocations: 303.3 kB / 1.222 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.6802, allocations: 90.02 kB / 1.223 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.6803, allocations: 115.7 kB / 1.223 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.6805, allocations: 107.6 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.435e-05/0.6806, allocations: 32 kB / 1.223 GB, free: 15.16 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 7.964e-05/0.6806, allocations: 39.98 kB / 1.223 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.02e-05/0.6807, allocations: 35.91 kB / 1.223 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.6808, allocations: 111.6 kB / 1.223 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0003315/0.6812, allocations: 342.5 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6812, allocations: 4 kB / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6812, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.6812, allocations: 0 / 1.223 GB, free: 14.64 MB / 0.9512 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.0006406/0.6818, allocations: 0.5176 MB / 1.224 GB, free: 14.06 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.6819, allocations: 8.625 kB / 1.224 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.6819, allocations: 42.73 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.682, allocations: 24.84 kB / 1.224 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005773/0.6826, allocations: 292.8 kB / 1.224 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6826, allocations: 16.36 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.493e-05/0.6827, allocations: 20.38 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.6829, allocations: 121.9 kB / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.6829, allocations: 0 / 1.224 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6829, allocations: 7.984 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6829, allocations: 4 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001544/0.6831, allocations: 83.89 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007393/0.6838, allocations: 0.5891 MB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.6841, allocations: 90.72 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.896e-05/0.6841, allocations: 36.84 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.6842, allocations: 0 / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001947/0.6844, allocations: 119.2 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/0.6844, allocations: 0 / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0003223/0.6847, allocations: 161.5 kB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.6848, allocations: 55.41 kB / 1.225 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.6849, allocations: 182.3 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.685, allocations: 37.64 kB / 1.226 GB, free: 12.02 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.38e-05/0.685, allocations: 128.3 kB / 1.226 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.594e-05/0.6851, allocations: 27.84 kB / 1.226 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.6852, allocations: 65.69 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.6853, allocations: 326.8 kB / 1.226 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.6855, allocations: 83.91 kB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.6857, allocations: 120.2 kB / 1.226 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.6859, allocations: 224.5 kB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6859, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005037/0.6864, allocations: 332.7 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.782e-05/0.6865, allocations: 69.27 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.6865, allocations: 0 / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6865, allocations: 4 kB / 1.227 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.6866, allocations: 19.92 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.6866, allocations: 4 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.687, allocations: 63.98 kB / 1.227 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.687, allocations: 15.98 kB / 1.227 GB, free: 10.47 MB / 0.9512 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.0001235/0.6872, allocations: 133.8 kB / 1.227 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.6872, allocations: 23.83 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.6874, allocations: 147.3 kB / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6875, allocations: 0 / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6875, allocations: 0 / 1.227 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6875, allocations: 4 kB / 1.227 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.6877, allocations: 241.5 kB / 1.228 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.6877, allocations: 7.922 kB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.6877, allocations: 8 kB / 1.228 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6877, allocations: 4 kB / 1.228 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.6878, allocations: 7.984 kB / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6878, allocations: 0 / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6878, allocations: 0 / 1.228 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002117/0.688, allocations: 160.9 kB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.576e-05/0.688, allocations: 92.95 kB / 1.228 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.219e-05/0.6881, allocations: 3.984 kB / 1.228 GB, free: 9.543 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.782e-05/0.6881, allocations: 11.98 kB / 1.228 GB, free: 9.531 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.6882, allocations: 7.984 kB / 1.228 GB, free: 9.523 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.6882, allocations: 8 kB / 1.228 GB, free: 9.516 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.601e-05/0.6883, allocations: 120.2 kB / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6883, allocations: 0 / 1.228 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002587/0.6886, allocations: 47.89 kB / 1.228 GB, free: 9.352 MB / 0.9512 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.0004797/0.689, allocations: 0.7176 MB / 1.229 GB, free: 8.605 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003848/0.6894, allocations: 282.7 kB / 1.229 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6894, allocations: 0 / 1.229 GB, free: 8.305 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.568e-05/0.6895, allocations: 56.28 kB / 1.229 GB, free: 8.25 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.6898, allocations: 44.19 kB / 1.229 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.6921, allocations: 2.132 MB / 1.231 GB, free: 5.938 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.6924, allocations: 0.728 MB / 1.232 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.902e-05/0.6924, allocations: 25.41 kB / 1.232 GB, free: 5.156 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.075e-05/0.6925, allocations: 51.42 kB / 1.232 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.6925, allocations: 0 / 1.232 GB, free: 5.109 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.7108, allocations: 4.339 MB / 1.236 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/8.203, allocations: 7.922 kB / 1.236 GB, free: 0.9453 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.fmu > 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.csv","/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