Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001815/0.001815, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002427/0.002427, allocations: 216.8 kB / 23.04 MB, free: 5.078 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.178/3.178, allocations: 0.49 GB / 0.7959 GB, free: 33.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_12_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.001954/0.001954, allocations: 61.28 kB / 1.155 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3535, allocations: 176.1 MB / 1.327 GB, free: 1.977 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2474/0.601, allocations: 241.6 MB / 1.563 GB, free: 15.63 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06678/0.6678, allocations: 43.61 MB / 1.605 GB, free: 3.91 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009826/0.6776, allocations: 333.1 kB / 1.605 GB, free: 3.582 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01115/0.6887, allocations: 3.305 MB / 1.609 GB, free: 264 kB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.8184/1.507, allocations: 8.288 MB / 1.617 GB, free: 62.05 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01553/1.523, allocations: 5.903 MB / 1.623 GB, free: 62 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04175/1.564, allocations: 26.94 MB / 1.649 GB, free: 61.97 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.015/1.579, allocations: 7.499 MB / 1.656 GB, free: 61.48 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02662/1.606, allocations: 10.37 MB / 1.666 GB, free: 60.92 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0141/1.62, allocations: 7.019 MB / 1.673 GB, free: 59.76 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003997/1.624, allocations: 1.048 MB / 1.674 GB, free: 59.76 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01583/1.64, allocations: 3.684 MB / 1.678 GB, free: 59.71 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.00698/1.647, allocations: 2.69 MB / 1.68 GB, free: 59.3 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01382/1.661, allocations: 5.513 MB / 1.686 GB, free: 57.95 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02596/1.687, allocations: 18.49 MB / 1.704 GB, free: 55.75 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.687, allocations: 0 / 1.704 GB, free: 55.75 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.783e-06/1.687, allocations: 0 / 1.704 GB, free: 55.75 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005128/1.687, allocations: 4 kB / 1.704 GB, free: 55.74 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.0313/1.719, allocations: 10.51 MB / 1.714 GB, free: 48.68 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.719, allocations: 8.438 kB / 1.714 GB, free: 48.68 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001578/1.719, allocations: 129 kB / 1.714 GB, free: 48.67 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003352/1.722, allocations: 0.667 MB / 1.715 GB, free: 48.18 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/1.732, allocations: 1.459 MB / 1.716 GB, free: 47.48 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02102/1.753, allocations: 11.07 MB / 1.727 GB, free: 40.09 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004242/1.754, allocations: 0.5173 MB / 1.728 GB, free: 39.79 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001551/1.755, allocations: 0.5082 MB / 1.728 GB, free: 39.62 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/1.769, allocations: 7.345 MB / 1.735 GB, free: 35.2 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/1.769, allocations: 17.23 kB / 1.735 GB, free: 35.2 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005712/1.769, allocations: 204.2 kB / 1.736 GB, free: 35.04 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-05/1.769, allocations: 145.3 kB / 1.736 GB, free: 34.93 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01121/1.781, allocations: 6.363 MB / 1.742 GB, free: 28.59 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.04819/1.829, allocations: 34.44 MB / 1.775 GB, free: 8.539 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006005/1.835, allocations: 2.47 MB / 1.778 GB, free: 6.074 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/1.839, allocations: 1.744 MB / 1.78 GB, free: 4.332 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000954/1.84, allocations: 251.3 kB / 1.78 GB, free: 4.098 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004133/1.844, allocations: 1.884 MB / 1.782 GB, free: 2.207 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 4.648e-06/1.844, allocations: 0 / 1.782 GB, free: 2.207 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.01299/1.857, allocations: 5.131 MB / 1.787 GB, free: 13.07 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.857, allocations: 77.41 kB / 1.787 GB, free: 12.98 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/1.876, allocations: 9.215 MB / 1.796 GB, free: 3.785 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001026/1.877, allocations: 89.7 kB / 1.796 GB, free: 3.691 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.006231/1.884, allocations: 3.828 MB / 1.8 GB, free: 15.86 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.001557/1.885, allocations: 0.7735 MB / 1.8 GB, free: 15.1 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/1.887, allocations: 0.7767 MB / 1.801 GB, free: 14.31 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.887, allocations: 304.9 kB / 1.801 GB, free: 14.02 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004094/1.891, allocations: 1.739 MB / 1.803 GB, free: 12.27 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/1.897, allocations: 3.349 MB / 1.806 GB, free: 8.316 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008801/1.906, allocations: 4.414 MB / 1.811 GB, free: 3.57 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/1.906, allocations: 8 kB / 1.811 GB, free: 3.562 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01254/1.919, allocations: 5.255 MB / 1.816 GB, free: 14.44 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 4.555e-05/1.919, allocations: 16 kB / 1.816 GB, free: 14.42 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-05/1.919, allocations: 32 kB / 1.816 GB, free: 14.39 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.42e-05/1.919, allocations: 48 kB / 1.816 GB, free: 14.34 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/1.922, allocations: 0.832 MB / 1.817 GB, free: 13.56 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-05/1.922, allocations: 67.69 kB / 1.817 GB, free: 13.51 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007348/1.93, allocations: 0.6574 MB / 1.817 GB, free: 12.85 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005276/1.93, allocations: 167.9 kB / 1.818 GB, free: 12.68 MB / 1.357 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.007378/1.938, allocations: 3.038 MB / 1.821 GB, free: 9.684 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003619/1.941, allocations: 0.7646 MB / 1.821 GB, free: 8.914 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/1.953, allocations: 4.245 MB / 1.825 GB, free: 4.676 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.48e-05/1.953, allocations: 28 kB / 1.825 GB, free: 4.648 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.954, allocations: 0 / 1.825 GB, free: 4.648 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007262/1.961, allocations: 3.332 MB / 1.829 GB, free: 1.27 MB / 1.357 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.02869/1.989, allocations: 11.34 MB / 1.84 GB, free: 5.867 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-05/1.989, allocations: 0 / 1.84 GB, free: 5.867 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002792/1.992, allocations: 0.562 MB / 1.84 GB, free: 5.324 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.435e-05/1.992, allocations: 8 kB / 1.84 GB, free: 5.316 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003315/1.993, allocations: 79.94 kB / 1.84 GB, free: 5.238 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.089e-05/1.993, allocations: 8 kB / 1.84 GB, free: 5.23 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/1.993, allocations: 11.19 kB / 1.84 GB, free: 5.223 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/2.008, allocations: 6.352 MB / 1.847 GB, free: 14.83 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005643/2.014, allocations: 1.408 MB / 1.848 GB, free: 13.43 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003346/2.017, allocations: 55.98 kB / 1.848 GB, free: 13.37 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006257/2.023, allocations: 287.6 kB / 1.848 GB, free: 13.09 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005524/2.024, allocations: 145.7 kB / 1.848 GB, free: 12.95 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005271/2.024, allocations: 119.9 kB / 1.849 GB, free: 12.83 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01594/2.04, allocations: 6.553 MB / 1.855 GB, free: 6.301 MB / 1.389 GB Notification: Performance of sort global known variables: time 3.81e-07/2.04, allocations: 3.938 kB / 1.855 GB, free: 6.297 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.009881/2.05, allocations: 2.105 MB / 1.857 GB, free: 4.188 MB / 1.389 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.02016/2.07, allocations: 7.898 MB / 1.865 GB, free: 12.36 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.01021/2.08, allocations: 3.831 MB / 1.869 GB, free: 8.641 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 1.139e-05/2.08, allocations: 4 kB / 1.869 GB, free: 8.637 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.004326/2.085, allocations: 1.653 MB / 1.87 GB, free: 7.023 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02866/2.113, allocations: 4.599 MB / 1.875 GB, free: 2.582 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1425/2.256, allocations: 64.66 MB / 1.938 GB, free: 1.176 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007734/2.264, allocations: 5.475 MB / 1.943 GB, free: 11.68 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.009223/2.273, allocations: 2.086 MB / 1.945 GB, free: 9.609 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008199/2.281, allocations: 3.35 MB / 1.948 GB, free: 6.262 MB / 1.482 GB Notification: Performance of SimCode: time 1.493e-06/2.281, allocations: 7.875 kB / 1.948 GB, free: 6.254 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.369/2.65, allocations: 228.6 MB / 2.172 GB, free: 3.676 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.28/31.93, allocations: 6.984 kB / 2.172 GB, free: 3.672 MB / 1.701 GB " [Timeout remaining time 268] (rm -f Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 40.23312980501214]