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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.744/2.744, allocations: 497.2 MB / 0.7812 GB, free: 11.97 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.134 GB, free: 13.19 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144/1.146, allocations: 173.9 MB / 1.304 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2537/1.4, allocations: 238.3 MB / 1.537 GB, free: 9.215 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.0654/1.465, allocations: 43.42 MB / 1.579 GB, free: 13.69 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01112/1.477, allocations: 234.6 kB / 1.579 GB, free: 13.46 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.01037/1.487, allocations: 3.297 MB / 1.583 GB, free: 10.15 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.02441/1.511, allocations: 8.144 MB / 1.59 GB, free: 1.977 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.01523/1.527, allocations: 5.746 MB / 1.596 GB, free: 12.28 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.03868/1.565, allocations: 26.41 MB / 1.622 GB, free: 1.797 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01698/1.582, allocations: 9.103 MB / 1.631 GB, free: 8.578 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02509/1.607, allocations: 10.14 MB / 1.641 GB, free: 14.43 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01551/1.623, allocations: 6.995 MB / 1.648 GB, free: 7.406 MB / 1.326 GB Notification: Performance of NFPackage.collectConstants: time 0.00439/1.627, allocations: 1.051 MB / 1.649 GB, free: 6.355 MB / 1.326 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01374/1.641, allocations: 3.503 MB / 1.652 GB, free: 2.848 MB / 1.326 GB Notification: Performance of NFScalarize.scalarize: time 0.006546/1.647, allocations: 2.69 MB / 1.655 GB, free: 152 kB / 1.326 GB Notification: Performance of NFVerifyModel.verify: time 0.01369/1.661, allocations: 5.496 MB / 1.66 GB, free: 10.63 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.03314/1.694, allocations: 18.24 MB / 1.678 GB, free: 8.332 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/1.694, allocations: 0 / 1.678 GB, free: 8.332 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.864e-06/1.694, allocations: 0 / 1.678 GB, free: 8.332 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.0005111/1.695, allocations: 0 / 1.678 GB, free: 8.332 MB / 1.357 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.02694/1.722, allocations: 10.52 MB / 1.688 GB, free: 13.7 MB / 1.373 GB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/1.722, allocations: 8.031 kB / 1.688 GB, free: 13.69 MB / 1.373 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001973/1.724, allocations: 0.6656 MB / 1.689 GB, free: 13.01 MB / 1.373 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007737/1.732, allocations: 1.446 MB / 1.69 GB, free: 11.56 MB / 1.373 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02192/1.753, allocations: 10.84 MB / 1.701 GB, free: 0.6367 MB / 1.373 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005355/1.754, allocations: 474 kB / 1.701 GB, free: 164 kB / 1.373 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001597/1.756, allocations: 0.5117 MB / 1.702 GB, free: 15.64 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/1.772, allocations: 7.345 MB / 1.709 GB, free: 8.129 MB / 1.389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000118/1.772, allocations: 7.938 kB / 1.709 GB, free: 8.121 MB / 1.389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006135/1.772, allocations: 211.9 kB / 1.709 GB, free: 7.914 MB / 1.389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001566/1.772, allocations: 139.9 kB / 1.709 GB, free: 7.777 MB / 1.389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.788, allocations: 6.36 MB / 1.715 GB, free: 1.402 MB / 1.389 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.05625/1.845, allocations: 34.55 MB / 1.749 GB, free: 12.66 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/1.851, allocations: 2.469 MB / 1.752 GB, free: 10.18 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003661/1.854, allocations: 1.75 MB / 1.753 GB, free: 8.438 MB / 1.436 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/1.856, allocations: 2.039 MB / 1.755 GB, free: 5.953 MB / 1.436 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003889/1.86, allocations: 1.877 MB / 1.757 GB, free: 4.062 MB / 1.436 GB Notification: Performance of pre-optimization done (n=212): time 3.877e-06/1.86, allocations: 0 / 1.757 GB, free: 4.062 MB / 1.436 GB Notification: Performance of matching and sorting (n=212): time 0.01268/1.873, allocations: 5.133 MB / 1.762 GB, free: 14.92 MB / 1.451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.402e-05/1.873, allocations: 81.38 kB / 1.762 GB, free: 14.83 MB / 1.451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01842/1.891, allocations: 9.109 MB / 1.771 GB, free: 5.734 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.0008594/1.892, allocations: 89.7 kB / 1.771 GB, free: 5.641 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.005514/1.898, allocations: 3.798 MB / 1.775 GB, free: 1.824 MB / 1.451 GB Notification: Performance of collectInitialBindings (initialization): time 0.00158/1.899, allocations: 0.7786 MB / 1.776 GB, free: 1.039 MB / 1.451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001528/1.901, allocations: 0.7845 MB / 1.776 GB, free: 252 kB / 1.451 GB Notification: Performance of setup shared object (initialization): time 0.0001718/1.901, allocations: 305.1 kB / 1.777 GB, free: 15.95 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003797/1.905, allocations: 1.735 MB / 1.778 GB, free: 14.21 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005664/1.91, allocations: 3.341 MB / 1.782 GB, free: 10.23 MB / 1.467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008929/1.919, allocations: 4.414 MB / 1.786 GB, free: 5.355 MB / 1.467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/1.919, allocations: 8 kB / 1.786 GB, free: 5.348 MB / 1.467 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01291/1.932, allocations: 5.243 MB / 1.791 GB, free: 52 kB / 1.467 GB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/1.932, allocations: 22.69 kB / 1.791 GB, free: 32 kB / 1.467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.646e-05/1.932, allocations: 28 kB / 1.791 GB, free: 4 kB / 1.467 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-05/1.932, allocations: 52.05 kB / 1.791 GB, free: 15.95 MB / 1.482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/1.936, allocations: 0.8306 MB / 1.792 GB, free: 15.12 MB / 1.482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.328e-05/1.936, allocations: 67.78 kB / 1.792 GB, free: 15.05 MB / 1.482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006597/1.942, allocations: 0.6572 MB / 1.793 GB, free: 14.39 MB / 1.482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004788/1.943, allocations: 160 kB / 1.793 GB, free: 14.24 MB / 1.482 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.006619/1.949, allocations: 3.015 MB / 1.796 GB, free: 11.21 MB / 1.482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002904/1.952, allocations: 0.7569 MB / 1.797 GB, free: 10.45 MB / 1.482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/1.962, allocations: 4.212 MB / 1.801 GB, free: 6.234 MB / 1.482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.678e-05/1.962, allocations: 27.97 kB / 1.801 GB, free: 6.207 MB / 1.482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/1.962, allocations: 4 kB / 1.801 GB, free: 6.203 MB / 1.482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006573/1.969, allocations: 3.335 MB / 1.804 GB, free: 2.82 MB / 1.482 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.02976/1.999, allocations: 11.3 MB / 1.815 GB, free: 7.367 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/1.999, allocations: 4 kB / 1.815 GB, free: 7.363 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/2.002, allocations: 0.5658 MB / 1.816 GB, free: 6.797 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/2.002, allocations: 8 kB / 1.816 GB, free: 6.789 MB / 1.498 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004931/2.002, allocations: 71.94 kB / 1.816 GB, free: 6.719 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.043e-05/2.002, allocations: 12 kB / 1.816 GB, free: 6.707 MB / 1.498 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/2.002, allocations: 0 / 1.816 GB, free: 6.707 MB / 1.498 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/2.018, allocations: 6.327 MB / 1.822 GB, free: 344 kB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005502/2.023, allocations: 1.448 MB / 1.823 GB, free: 14.86 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002355/2.026, allocations: 51.98 kB / 1.823 GB, free: 14.81 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005464/2.031, allocations: 283.6 kB / 1.824 GB, free: 14.54 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000468/2.032, allocations: 149.8 kB / 1.824 GB, free: 14.39 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005061/2.032, allocations: 115.8 kB / 1.824 GB, free: 14.27 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01488/2.047, allocations: 6.484 MB / 1.83 GB, free: 7.812 MB / 1.514 GB Notification: Performance of sort global known variables: time 1.91e-07/2.047, allocations: 0 / 1.83 GB, free: 7.812 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.008554/2.056, allocations: 2.094 MB / 1.832 GB, free: 5.715 MB / 1.514 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 0.01865/2.074, allocations: 7.893 MB / 1.84 GB, free: 13.8 MB / 1.529 GB Notification: Performance of simCode: created initialization part: time 0.009561/2.084, allocations: 3.828 MB / 1.844 GB, free: 9.969 MB / 1.529 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/2.084, allocations: 8.062 kB / 1.844 GB, free: 9.961 MB / 1.529 GB Notification: Performance of simCode: created simulation system equations: time 0.004171/2.088, allocations: 1.639 MB / 1.845 GB, free: 8.32 MB / 1.529 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02374/2.112, allocations: 4.588 MB / 1.85 GB, free: 3.883 MB / 1.529 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.3/3.411, allocations: 64.19 MB / 1.912 GB, free: 465.4 MB / 1.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007389/3.419, allocations: 5.44 MB / 1.918 GB, free: 463.5 MB / 1.545 GB Notification: Performance of simCode: alias equations: time 0.00909/3.428, allocations: 2.092 MB / 1.92 GB, free: 463.4 MB / 1.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006802/3.435, allocations: 3.322 MB / 1.923 GB, free: 460.8 MB / 1.545 GB Notification: Performance of SimCode: time 1.783e-06/3.435, allocations: 4.562 kB / 1.923 GB, free: 460.8 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/3.732, allocations: 225.2 MB / 2.143 GB, free: 278.5 MB / 1.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.62/29.36, allocations: 19.06 kB / 2.143 GB, free: 278.5 MB / 1.545 GB " [Timeout remaining time 270] (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_2/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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 36.51910872384906]