Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007935/0.007935, allocations: 99.72 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.00203/0.00203, allocations: 192.7 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.448/2.448, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 59.91 kB / 1.018 GB, free: 9.906 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7146/0.716, allocations: 151.6 MB / 1.166 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem): time 0.002118/0.7181, allocations: 0.9356 MB / 1.167 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001547/0.7197, allocations: 1.261 MB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.707e-05/0.7198, allocations: 4 kB / 1.168 GB, free: 1.562 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.7199, allocations: 15.8 kB / 1.168 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.682e-05/0.72, allocations: 35.72 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006638/0.7207, allocations: 253 kB / 1.169 GB, free: 1.27 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.721, allocations: 299.5 kB / 1.169 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.7212, allocations: 90.06 kB / 1.169 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.7213, allocations: 111.7 kB / 1.169 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.7214, allocations: 103.6 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 5.22e-05/0.7215, allocations: 32 kB / 1.169 GB, free: 0.6445 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.413e-05/0.7216, allocations: 43.98 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.7217, allocations: 43.78 kB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.7218, allocations: 107.6 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000332/0.7221, allocations: 346.5 kB / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.7221, allocations: 0 / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.253e-06/0.7222, allocations: 0 / 1.17 GB, free: 120 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7222, allocations: 4 kB / 1.17 GB, free: 116 kB / 0.8887 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.0006405/0.7228, allocations: 0.5139 MB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.7229, allocations: 12.92 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.205e-05/0.7229, allocations: 46.73 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.296e-05/0.723, allocations: 20.84 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.7236, allocations: 280.8 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/0.7236, allocations: 20.36 kB / 1.171 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/0.7236, allocations: 28.36 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.7239, allocations: 121.8 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.7239, allocations: 0 / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.7239, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7239, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.7241, allocations: 91.81 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007916/0.7249, allocations: 0.5735 MB / 1.171 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002497/0.7251, allocations: 106.6 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.708e-05/0.7252, allocations: 32.84 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.179e-05/0.7252, allocations: 3.938 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.7255, allocations: 115.2 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.7255, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0003376/0.7258, allocations: 165.5 kB / 1.172 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.7259, allocations: 59.34 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.726, allocations: 178.3 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.7261, allocations: 29.7 kB / 1.172 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.7261, allocations: 124.4 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.558e-05/0.7262, allocations: 27.8 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.7263, allocations: 61.67 kB / 1.172 GB, free: 13.28 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.867e-05/0.7264, allocations: 330.8 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.7266, allocations: 75.95 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.7268, allocations: 132 kB / 1.173 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.727, allocations: 218.2 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.727, allocations: 0 / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005107/0.7276, allocations: 329.3 kB / 1.173 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.7276, allocations: 63.44 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.7276, allocations: 3.984 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7277, allocations: 4 kB / 1.173 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.326e-05/0.7277, allocations: 16 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.7278, allocations: 7.938 kB / 1.173 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.7281, allocations: 59.77 kB / 1.173 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/0.7281, allocations: 19.98 kB / 1.173 GB, free: 11.96 MB / 0.9044 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.0001253/0.7283, allocations: 142.5 kB / 1.174 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.381e-05/0.7283, allocations: 19.84 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002549/0.7286, allocations: 147 kB / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.7286, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.7286, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.7286, allocations: 0 / 1.174 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.7288, allocations: 245.5 kB / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.7288, allocations: 0 / 1.174 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.7289, allocations: 15.98 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.7289, allocations: 0 / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.7289, allocations: 0 / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.7289, allocations: 4 kB / 1.174 GB, free: 11.33 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.7289, allocations: 4 kB / 1.174 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.7291, allocations: 168.8 kB / 1.174 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.7292, allocations: 89.11 kB / 1.174 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.7292, allocations: 11.94 kB / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.362e-05/0.7293, allocations: 0 / 1.174 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.7293, allocations: 19.95 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/0.7293, allocations: 4 kB / 1.174 GB, free: 11 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.436e-05/0.7294, allocations: 128.2 kB / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7294, allocations: 0 / 1.174 GB, free: 10.88 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002657/0.7297, allocations: 47.89 kB / 1.174 GB, free: 10.83 MB / 0.9044 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.0004824/0.7302, allocations: 0.6982 MB / 1.175 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004014/0.7306, allocations: 291.4 kB / 1.175 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7306, allocations: 0 / 1.175 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.7307, allocations: 51.92 kB / 1.175 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.731, allocations: 40.5 kB / 1.175 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.7334, allocations: 2.135 MB / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.7336, allocations: 0.7202 MB / 1.178 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.966e-05/0.7337, allocations: 29.41 kB / 1.178 GB, free: 6.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.7338, allocations: 51.41 kB / 1.178 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of SimCode: time 3.1e-07/0.7338, allocations: 0 / 1.178 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.7545, allocations: 4.342 MB / 1.183 GB, free: 2.438 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.528/8.282, allocations: 15.22 kB / 1.183 GB, free: 2.43 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneGroupSystem.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneGroupSystem.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches