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.001831/0.001831, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.002294/0.002294, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.472/1.472, allocations: 230.6 MB / 256.8 MB, free: 7.781 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 3.256/3.256, allocations: 0.5003 GB / 0.8062 GB, free: 28.25 MB / 0.6231 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.00274/0.00274, allocations: 64.92 kB / 1.17 GB, free: 19.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3916, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2512/0.6428, allocations: 217.9 MB / 1.558 GB, free: 5.312 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.06395/0.7068, allocations: 40.47 MB / 1.598 GB, free: 12.74 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01/0.7168, allocations: 333.1 kB / 1.598 GB, free: 12.41 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01039/0.7272, allocations: 3.15 MB / 1.601 GB, free: 9.246 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.02574/0.7529, allocations: 8.301 MB / 1.609 GB, free: 0.918 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.9/1.653, allocations: 5.827 MB / 1.615 GB, free: 62.11 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.05109/1.704, allocations: 26.91 MB / 1.641 GB, free: 62.09 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01873/1.723, allocations: 7.49 MB / 1.648 GB, free: 61.64 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03171/1.754, allocations: 10.45 MB / 1.659 GB, free: 61.21 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01553/1.77, allocations: 7.014 MB / 1.665 GB, free: 60.05 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.00467/1.775, allocations: 1.047 MB / 1.666 GB, free: 60.05 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01487/1.79, allocations: 3.021 MB / 1.669 GB, free: 60.05 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006363/1.796, allocations: 2.7 MB / 1.672 GB, free: 59.64 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0166/1.812, allocations: 4.279 MB / 1.676 GB, free: 58.62 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03362/1.846, allocations: 18.46 MB / 1.694 GB, free: 56.75 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.846, allocations: 0 / 1.694 GB, free: 56.75 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.304e-06/1.846, allocations: 2.469 kB / 1.694 GB, free: 56.75 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006941/1.847, allocations: 0 / 1.694 GB, free: 56.75 MB / 1.295 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.03515/1.882, allocations: 10.51 MB / 1.705 GB, free: 52.71 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.003e-05/1.882, allocations: 10.91 kB / 1.705 GB, free: 52.71 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001944/1.882, allocations: 124.3 kB / 1.705 GB, free: 52.7 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003277/1.885, allocations: 0.6615 MB / 1.705 GB, free: 52.64 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009805/1.895, allocations: 1.491 MB / 1.707 GB, free: 52.08 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0252/1.92, allocations: 11.08 MB / 1.718 GB, free: 47.29 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000641/1.921, allocations: 0.5142 MB / 1.718 GB, free: 46.98 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002471/1.924, allocations: 0.5078 MB / 1.719 GB, free: 46.82 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01985/1.943, allocations: 8.226 MB / 1.727 GB, free: 41.32 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/1.944, allocations: 8.969 kB / 1.727 GB, free: 41.32 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00104/1.945, allocations: 202 kB / 1.727 GB, free: 41.18 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/1.945, allocations: 148 kB / 1.727 GB, free: 41.16 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01802/1.963, allocations: 6.381 MB / 1.733 GB, free: 37.85 MB / 1.295 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.0525/2.015, allocations: 24.69 MB / 1.757 GB, free: 18.05 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005001/2.02, allocations: 2.479 MB / 1.76 GB, free: 15.57 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003309/2.024, allocations: 1.76 MB / 1.761 GB, free: 13.81 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009202/2.025, allocations: 232.7 kB / 1.762 GB, free: 13.59 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003914/2.028, allocations: 2.751 MB / 1.764 GB, free: 10.62 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 6.262e-06/2.028, allocations: 0 / 1.764 GB, free: 10.62 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01232/2.041, allocations: 5.171 MB / 1.769 GB, free: 5.445 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/2.041, allocations: 73.41 kB / 1.769 GB, free: 5.359 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01876/2.06, allocations: 9.217 MB / 1.778 GB, free: 12.16 MB / 1.311 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/2.061, allocations: 93.7 kB / 1.779 GB, free: 12.07 MB / 1.311 GB Notification: Performance of collectInitialEqns (initialization): time 0.006406/2.067, allocations: 3.822 MB / 1.782 GB, free: 8.246 MB / 1.311 GB Notification: Performance of collectInitialBindings (initialization): time 0.001624/2.069, allocations: 0.7808 MB / 1.783 GB, free: 7.48 MB / 1.311 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/2.07, allocations: 0.7845 MB / 1.784 GB, free: 6.688 MB / 1.311 GB Notification: Performance of setup shared object (initialization): time 0.000123/2.071, allocations: 305.1 kB / 1.784 GB, free: 6.387 MB / 1.311 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/2.074, allocations: 1.743 MB / 1.786 GB, free: 4.641 MB / 1.311 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007597/2.082, allocations: 5.201 MB / 1.791 GB, free: 14.39 MB / 1.326 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009492/2.092, allocations: 4.435 MB / 1.795 GB, free: 9.613 MB / 1.326 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.98e-05/2.092, allocations: 12 kB / 1.795 GB, free: 9.602 MB / 1.326 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01429/2.106, allocations: 5.265 MB / 1.8 GB, free: 4.465 MB / 1.326 GB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/2.106, allocations: 20 kB / 1.8 GB, free: 4.445 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-05/2.106, allocations: 32 kB / 1.8 GB, free: 4.414 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.791e-05/2.106, allocations: 48.06 kB / 1.8 GB, free: 4.367 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003961/2.11, allocations: 0.8363 MB / 1.801 GB, free: 3.582 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.913e-05/2.11, allocations: 61.48 kB / 1.801 GB, free: 3.535 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008214/2.118, allocations: 0.6691 MB / 1.802 GB, free: 2.863 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009221/2.119, allocations: 160 kB / 1.802 GB, free: 2.707 MB / 1.326 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.006986/2.126, allocations: 3.042 MB / 1.805 GB, free: 15.7 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003146/2.129, allocations: 0.7646 MB / 1.806 GB, free: 14.93 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01342/2.143, allocations: 4.248 MB / 1.81 GB, free: 10.69 MB / 1.342 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.787e-05/2.143, allocations: 27.98 kB / 1.81 GB, free: 10.66 MB / 1.342 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/2.143, allocations: 4 kB / 1.81 GB, free: 10.66 MB / 1.342 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009812/2.153, allocations: 3.35 MB / 1.813 GB, free: 7.262 MB / 1.342 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.03645/2.189, allocations: 10.19 MB / 1.823 GB, free: 13.07 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.541e-05/2.189, allocations: 0 / 1.823 GB, free: 13.07 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003379/2.193, allocations: 0.5683 MB / 1.824 GB, free: 12.52 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.685e-05/2.193, allocations: 8 kB / 1.824 GB, free: 12.52 MB / 1.357 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005646/2.193, allocations: 75.95 kB / 1.824 GB, free: 12.44 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.572e-05/2.193, allocations: 11.98 kB / 1.824 GB, free: 12.43 MB / 1.357 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/2.193, allocations: 8 kB / 1.824 GB, free: 12.42 MB / 1.357 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/2.211, allocations: 6.403 MB / 1.83 GB, free: 5.98 MB / 1.357 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005522/2.216, allocations: 1.408 MB / 1.832 GB, free: 4.574 MB / 1.357 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002957/2.219, allocations: 51.98 kB / 1.832 GB, free: 4.523 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006244/2.225, allocations: 287.1 kB / 1.832 GB, free: 4.246 MB / 1.357 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006811/2.226, allocations: 153 kB / 1.832 GB, free: 4.098 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006837/2.227, allocations: 119.9 kB / 1.832 GB, free: 3.98 MB / 1.357 GB Notification: Performance of sorting global known variables: time 0.0174/2.244, allocations: 6.557 MB / 1.839 GB, free: 13.45 MB / 1.373 GB Notification: Performance of sort global known variables: time 2.41e-07/2.244, allocations: 0 / 1.839 GB, free: 13.45 MB / 1.373 GB Notification: Performance of remove unused functions: time 0.01089/2.255, allocations: 2.105 MB / 1.841 GB, free: 11.34 MB / 1.373 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.021/2.276, allocations: 7.92 MB / 1.848 GB, free: 3.488 MB / 1.373 GB Notification: Performance of simCode: created initialization part: time 0.01088/2.287, allocations: 3.867 MB / 1.852 GB, free: 15.73 MB / 1.389 GB Notification: Performance of simCode: created event and clocks part: time 1.681e-05/2.287, allocations: 4 kB / 1.852 GB, free: 15.73 MB / 1.389 GB Notification: Performance of simCode: created simulation system equations: time 0.00475/2.292, allocations: 1.66 MB / 1.854 GB, free: 14.11 MB / 1.389 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02837/2.32, allocations: 4.605 MB / 1.858 GB, free: 9.676 MB / 1.389 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1924/2.512, allocations: 64.62 MB / 1.921 GB, free: 8.305 MB / 1.451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01749/2.53, allocations: 5.02 MB / 1.926 GB, free: 3.25 MB / 1.451 GB Notification: Performance of simCode: alias equations: time 0.01369/2.544, allocations: 2.084 MB / 1.928 GB, free: 1.199 MB / 1.451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01098/2.555, allocations: 3.357 MB / 1.932 GB, free: 13.87 MB / 1.467 GB Notification: Performance of SimCode: time 2.104e-06/2.555, allocations: 0 / 1.932 GB, free: 13.87 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4005/2.955, allocations: 239.8 MB / 2.166 GB, free: 1.078 MB / 1.686 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.73/33.69, allocations: 15.97 kB / 2.166 GB, free: 1.062 MB / 1.686 GB " [Timeout remaining time 266] (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: 42.107889254926704]