Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.994/2.994, allocations: 0.5003 GB / 0.8026 GB, free: 6.723 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003263/0.003263, allocations: 71.89 kB / 1.165 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9838/0.9871, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2789/1.266, allocations: 239.2 MB / 1.574 GB, free: 8.836 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.0784/1.344, allocations: 43.44 MB / 1.616 GB, free: 13.29 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01097/1.355, allocations: 329.2 kB / 1.616 GB, free: 12.96 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01156/1.367, allocations: 3.317 MB / 1.62 GB, free: 9.629 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02576/1.393, allocations: 8.14 MB / 1.628 GB, free: 1.461 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01578/1.408, allocations: 5.755 MB / 1.633 GB, free: 11.75 MB / 1.311 GB Notification: Performance of NFFlatten.flatten: time 0.04174/1.45, allocations: 26.46 MB / 1.659 GB, free: 1.227 MB / 1.326 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01794/1.468, allocations: 9.127 MB / 1.668 GB, free: 7.984 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02497/1.493, allocations: 10.28 MB / 1.678 GB, free: 13.7 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01464/1.508, allocations: 7.002 MB / 1.685 GB, free: 6.668 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.004175/1.512, allocations: 1.051 MB / 1.686 GB, free: 5.617 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0136/1.526, allocations: 3.62 MB / 1.689 GB, free: 1.992 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.005731/1.531, allocations: 2.69 MB / 1.692 GB, free: 15.29 MB / 1.373 GB Notification: Performance of NFVerifyModel.verify: time 0.01316/1.544, allocations: 5.508 MB / 1.697 GB, free: 9.762 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.03306/1.577, allocations: 18.48 MB / 1.716 GB, free: 7.219 MB / 1.389 GB Notification: Performance of FrontEnd - DAE generated: time 7.253e-06/1.577, allocations: 0 / 1.716 GB, free: 7.219 MB / 1.389 GB Notification: Performance of FrontEnd: time 1.834e-06/1.577, allocations: 0 / 1.716 GB, free: 7.219 MB / 1.389 GB Notification: Performance of Transformations before backend: time 0.0005638/1.578, allocations: 3.938 kB / 1.716 GB, free: 7.215 MB / 1.389 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1232 * Number of variables: 1232 Notification: Performance of Generate backend data structure: time 0.02904/1.607, allocations: 10.58 MB / 1.726 GB, free: 12.52 MB / 1.404 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.607, allocations: 12.03 kB / 1.726 GB, free: 12.51 MB / 1.404 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001402/1.607, allocations: 121.6 kB / 1.726 GB, free: 12.39 MB / 1.404 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001914/1.609, allocations: 0.6617 MB / 1.727 GB, free: 11.71 MB / 1.404 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00825/1.617, allocations: 1.485 MB / 1.728 GB, free: 10.22 MB / 1.404 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02194/1.639, allocations: 11.05 MB / 1.739 GB, free: 15.1 MB / 1.42 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/1.64, allocations: 474 kB / 1.739 GB, free: 14.62 MB / 1.42 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001787/1.642, allocations: 0.5155 MB / 1.74 GB, free: 14.1 MB / 1.42 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/1.659, allocations: 7.353 MB / 1.747 GB, free: 6.574 MB / 1.42 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/1.659, allocations: 11.89 kB / 1.747 GB, free: 6.562 MB / 1.42 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006907/1.66, allocations: 207.9 kB / 1.747 GB, free: 6.359 MB / 1.42 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001491/1.66, allocations: 136 kB / 1.747 GB, free: 6.227 MB / 1.42 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/1.675, allocations: 6.387 MB / 1.754 GB, free: 15.82 MB / 1.436 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0549/1.73, allocations: 34.62 MB / 1.787 GB, free: 11.02 MB / 1.467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005735/1.735, allocations: 2.481 MB / 1.79 GB, free: 8.531 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003936/1.739, allocations: 1.754 MB / 1.792 GB, free: 6.777 MB / 1.467 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002035/1.741, allocations: 2.035 MB / 1.794 GB, free: 4.301 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00436/1.746, allocations: 1.901 MB / 1.795 GB, free: 2.387 MB / 1.467 GB Notification: Performance of pre-optimization done (n=212): time 4.88e-06/1.746, allocations: 4 kB / 1.795 GB, free: 2.383 MB / 1.467 GB Notification: Performance of matching and sorting (n=212): time 0.01395/1.76, allocations: 5.164 MB / 1.8 GB, free: 13.21 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.209e-05/1.76, allocations: 73.41 kB / 1.8 GB, free: 13.12 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01796/1.778, allocations: 9.199 MB / 1.809 GB, free: 3.941 MB / 1.482 GB Notification: Performance of collectPreVariables (initialization): time 0.000869/1.779, allocations: 89.7 kB / 1.81 GB, free: 3.848 MB / 1.482 GB Notification: Performance of collectInitialEqns (initialization): time 0.005267/1.784, allocations: 3.821 MB / 1.813 GB, free: 16 kB / 1.482 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.785, allocations: 0.7825 MB / 1.814 GB, free: 15.23 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001588/1.787, allocations: 0.7767 MB / 1.815 GB, free: 14.44 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 0.0001405/1.787, allocations: 312.9 kB / 1.815 GB, free: 14.13 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003867/1.791, allocations: 1.747 MB / 1.817 GB, free: 12.38 MB / 1.498 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005725/1.797, allocations: 3.357 MB / 1.82 GB, free: 8.395 MB / 1.498 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008846/1.805, allocations: 4.437 MB / 1.824 GB, free: 3.496 MB / 1.498 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/1.805, allocations: 8 kB / 1.824 GB, free: 3.488 MB / 1.498 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01364/1.819, allocations: 5.259 MB / 1.83 GB, free: 14.17 MB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/1.819, allocations: 20.17 kB / 1.83 GB, free: 14.15 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.867e-05/1.819, allocations: 36 kB / 1.83 GB, free: 14.12 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.954e-05/1.819, allocations: 48 kB / 1.83 GB, free: 14.07 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003433/1.823, allocations: 0.8268 MB / 1.83 GB, free: 13.24 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.378e-05/1.823, allocations: 75.72 kB / 1.831 GB, free: 13.17 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006725/1.829, allocations: 0.6534 MB / 1.831 GB, free: 12.51 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005484/1.83, allocations: 163.9 kB / 1.831 GB, free: 12.35 MB / 1.514 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 140 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.chi.tru.y,y1.intTimTab.idx,$PRE.y1.intTimTab.idx,y1.intTimTab.y[2],$PRE.y1.intTimTab.y[2],y1.intTimTab.y[1],$PRE.y1.intTimTab.y[1],y1.y[2],chi.com.y1One,chi.y1[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (402): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * 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.005873/1.836, allocations: 3.043 MB / 1.834 GB, free: 9.297 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002652/1.839, allocations: 0.7607 MB / 1.835 GB, free: 8.531 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0103/1.849, allocations: 4.244 MB / 1.839 GB, free: 4.289 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-05/1.849, allocations: 23.98 kB / 1.839 GB, free: 4.266 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.849, allocations: 4 kB / 1.839 GB, free: 4.262 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007227/1.856, allocations: 3.343 MB / 1.843 GB, free: 0.8672 MB / 1.514 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/1.882, allocations: 11.38 MB / 1.854 GB, free: 5.34 MB / 1.529 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/1.882, allocations: 0 / 1.854 GB, free: 5.34 MB / 1.529 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/1.885, allocations: 0.562 MB / 1.854 GB, free: 4.777 MB / 1.529 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.16e-05/1.885, allocations: 8 kB / 1.854 GB, free: 4.77 MB / 1.529 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002577/1.885, allocations: 75.94 kB / 1.854 GB, free: 4.695 MB / 1.529 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.296e-05/1.885, allocations: 11.83 kB / 1.854 GB, free: 4.688 MB / 1.529 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/1.885, allocations: 4 kB / 1.854 GB, free: 4.684 MB / 1.529 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01474/1.9, allocations: 6.372 MB / 1.86 GB, free: 14.26 MB / 1.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004322/1.904, allocations: 1.46 MB / 1.862 GB, free: 12.78 MB / 1.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/1.906, allocations: 51.98 kB / 1.862 GB, free: 12.73 MB / 1.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005099/1.911, allocations: 295.5 kB / 1.862 GB, free: 12.44 MB / 1.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004927/1.912, allocations: 145.7 kB / 1.862 GB, free: 12.3 MB / 1.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003931/1.912, allocations: 115.9 kB / 1.862 GB, free: 12.18 MB / 1.545 GB Notification: Performance of sorting global known variables: time 0.01358/1.926, allocations: 6.541 MB / 1.869 GB, free: 5.668 MB / 1.545 GB Notification: Performance of sort global known variables: time 2.1e-07/1.926, allocations: 0 / 1.869 GB, free: 5.668 MB / 1.545 GB Notification: Performance of remove unused functions: time 0.00817/1.934, allocations: 2.098 MB / 1.871 GB, free: 3.566 MB / 1.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 (chi.chi.vol1.dynBal.U,chi.chi.vol2.dynBal.U,chi.valEva.junInl[1].vol.dynBal.U,chi.valEva.junInl[2].vol.dynBal.U,chi.valEva.junOut[1].vol.dynBal.U,chi.valEva.junOut[2].vol.dynBal.U,chi.valEva.val[1].actPos.y,chi.valEva.val[2].actPos.y,chi.valCon.junInl[1].vol.dynBal.U,chi.valCon.junInl[2].vol.dynBal.U,chi.valCon.junOut[1].vol.dynBal.U,chi.valCon.junOut[2].vol.dynBal.U,chi.valCon.val[1].actPos.y,chi.valCon.val[2].actPos.y,chi.temConLvg.T,chi.temEvaLvg.T) * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chi.y1[1],chi.com.y1One,y1.y[2],y1.intTimTab.y[1],y1.intTimTab.y[2],y1.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * 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 1.261/3.195, allocations: 7.895 MB / 1.879 GB, free: 468.9 MB / 1.545 GB Notification: Performance of simCode: created initialization part: time 0.009298/3.204, allocations: 3.846 MB / 1.882 GB, free: 467.8 MB / 1.545 GB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/3.204, allocations: 4.781 kB / 1.882 GB, free: 467.8 MB / 1.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003559/3.208, allocations: 1.653 MB / 1.884 GB, free: 467.2 MB / 1.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0219/3.23, allocations: 4.604 MB / 1.889 GB, free: 466.2 MB / 1.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1358/3.365, allocations: 64.58 MB / 1.952 GB, free: 440 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005465/3.371, allocations: 5.471 MB / 1.957 GB, free: 438 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.007979/3.379, allocations: 2.092 MB / 1.959 GB, free: 437.6 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005976/3.385, allocations: 3.353 MB / 1.962 GB, free: 434.9 MB / 1.545 GB Notification: Performance of SimCode: time 1.593e-06/3.385, allocations: 0 / 1.962 GB, free: 434.9 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2704/3.655, allocations: 226 MB / 2.183 GB, free: 217 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.47/31.12, allocations: 14.23 kB / 2.183 GB, free: 217 MB / 1.545 GB " [Timeout remaining time 269] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 39.13473068800522]