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.001646/0.001646, allocations: 103 kB / 16.45 MB, free: 6.5 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.001978/0.001978, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.413/1.413, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.06/3.06, allocations: 0.49 GB / 0.7916 GB, free: 33.29 MB / 0.6231 GB " [Timeout remaining time 177] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_12_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",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.00199/0.00199, allocations: 73.25 kB / 1.149 GB, free: 26.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.346, allocations: 176.1 MB / 1.321 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2649/0.611, allocations: 239.2 MB / 1.554 GB, free: 3.359 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.06788/0.6788, allocations: 43.44 MB / 1.597 GB, free: 7.816 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008191/0.687, allocations: 333.1 kB / 1.597 GB, free: 7.488 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.009644/0.6967, allocations: 3.313 MB / 1.6 GB, free: 4.156 MB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.8882/1.585, allocations: 8.148 MB / 1.608 GB, free: 64.57 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01446/1.599, allocations: 5.743 MB / 1.614 GB, free: 64.55 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.0449/1.644, allocations: 26.45 MB / 1.64 GB, free: 64.52 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01768/1.662, allocations: 9.123 MB / 1.649 GB, free: 63.76 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02769/1.69, allocations: 10.28 MB / 1.659 GB, free: 63.27 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01718/1.707, allocations: 6.999 MB / 1.666 GB, free: 62.11 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005511/1.712, allocations: 1.05 MB / 1.667 GB, free: 62.11 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01625/1.729, allocations: 3.611 MB / 1.67 GB, free: 62.11 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006425/1.735, allocations: 2.697 MB / 1.673 GB, free: 61.69 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01548/1.751, allocations: 5.506 MB / 1.678 GB, free: 60.34 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03377/1.784, allocations: 18.48 MB / 1.696 GB, free: 58.47 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/1.784, allocations: 2.531 kB / 1.696 GB, free: 58.47 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.024e-06/1.784, allocations: 0 / 1.696 GB, free: 58.47 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0007585/1.785, allocations: 3.938 kB / 1.696 GB, free: 58.47 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.04251/1.828, allocations: 10.58 MB / 1.707 GB, free: 53.34 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/1.828, allocations: 11.48 kB / 1.707 GB, free: 53.34 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003883/1.831, allocations: 0.6626 MB / 1.707 GB, free: 53.16 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01048/1.842, allocations: 1.461 MB / 1.709 GB, free: 52.46 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/1.866, allocations: 11.04 MB / 1.719 GB, free: 44.85 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000732/1.867, allocations: 471.7 kB / 1.72 GB, free: 44.6 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003028/1.87, allocations: 0.5138 MB / 1.72 GB, free: 44.43 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02332/1.893, allocations: 7.35 MB / 1.728 GB, free: 39.48 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002893/1.894, allocations: 18.61 kB / 1.728 GB, free: 39.47 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002262/1.896, allocations: 199 kB / 1.728 GB, free: 39.28 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001688/1.896, allocations: 144 kB / 1.728 GB, free: 39.14 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01716/1.913, allocations: 6.363 MB / 1.734 GB, free: 32.8 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.05416/1.967, allocations: 34.58 MB / 1.768 GB, free: 12.63 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0065/1.974, allocations: 2.467 MB / 1.77 GB, free: 10.16 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004408/1.978, allocations: 1.747 MB / 1.772 GB, free: 8.418 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00207/1.98, allocations: 2.034 MB / 1.774 GB, free: 5.953 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004831/1.985, allocations: 1.891 MB / 1.776 GB, free: 4.055 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 5.511e-06/1.985, allocations: 0 / 1.776 GB, free: 4.055 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.0142/1.999, allocations: 5.129 MB / 1.781 GB, free: 14.92 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.385e-05/1.999, allocations: 73.41 kB / 1.781 GB, free: 14.83 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02346/2.023, allocations: 9.202 MB / 1.79 GB, free: 5.652 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/2.024, allocations: 85.7 kB / 1.79 GB, free: 5.562 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.006759/2.031, allocations: 3.824 MB / 1.794 GB, free: 1.742 MB / 1.326 GB Notification: Performance of collectInitialBindings (initialization): time 0.001734/2.033, allocations: 0.7822 MB / 1.794 GB, free: 0.9688 MB / 1.326 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003438/2.036, allocations: 0.7767 MB / 1.795 GB, free: 188 kB / 1.326 GB Notification: Performance of setup shared object (initialization): time 0.0001522/2.036, allocations: 305.1 kB / 1.795 GB, free: 15.88 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004428/2.041, allocations: 1.735 MB / 1.797 GB, free: 14.14 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006235/2.047, allocations: 3.349 MB / 1.8 GB, free: 10.19 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0099/2.057, allocations: 4.416 MB / 1.805 GB, free: 5.438 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.995e-05/2.057, allocations: 15.59 kB / 1.805 GB, free: 5.426 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01623/2.073, allocations: 5.244 MB / 1.81 GB, free: 316 kB / 1.342 GB Notification: Performance of prepare postOptimizeDAE: time 5.252e-05/2.073, allocations: 20 kB / 1.81 GB, free: 296 kB / 1.342 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.069e-05/2.073, allocations: 32 kB / 1.81 GB, free: 264 kB / 1.342 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.92e-05/2.073, allocations: 44 kB / 1.81 GB, free: 220 kB / 1.342 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/2.077, allocations: 0.8314 MB / 1.811 GB, free: 15.43 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001062/2.077, allocations: 70.03 kB / 1.811 GB, free: 15.38 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008234/2.085, allocations: 0.6689 MB / 1.812 GB, free: 14.7 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000826/2.086, allocations: 160 kB / 1.812 GB, free: 14.55 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.007953/2.094, allocations: 3.039 MB / 1.815 GB, free: 11.55 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003504/2.098, allocations: 0.7646 MB / 1.815 GB, free: 10.78 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/2.11, allocations: 4.224 MB / 1.82 GB, free: 6.562 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.46e-05/2.11, allocations: 24 kB / 1.82 GB, free: 6.539 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/2.11, allocations: 0 / 1.82 GB, free: 6.539 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007335/2.117, allocations: 3.324 MB / 1.823 GB, free: 3.168 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.03175/2.149, allocations: 11.31 MB / 1.834 GB, free: 7.785 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/2.149, allocations: 4 kB / 1.834 GB, free: 7.781 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002946/2.152, allocations: 0.5686 MB / 1.834 GB, free: 7.234 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.66e-05/2.152, allocations: 8 kB / 1.834 GB, free: 7.227 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004233/2.152, allocations: 75.94 kB / 1.834 GB, free: 7.152 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.179e-05/2.152, allocations: 12 kB / 1.834 GB, free: 7.141 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.152, allocations: 3.281 kB / 1.834 GB, free: 7.141 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01514/2.168, allocations: 6.344 MB / 1.841 GB, free: 0.7539 MB / 1.373 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004912/2.172, allocations: 1.449 MB / 1.842 GB, free: 15.28 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00259/2.175, allocations: 59.92 kB / 1.842 GB, free: 15.22 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005776/2.181, allocations: 287.2 kB / 1.842 GB, free: 14.94 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/2.181, allocations: 141.5 kB / 1.843 GB, free: 14.8 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004807/2.182, allocations: 115.9 kB / 1.843 GB, free: 14.69 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01708/2.199, allocations: 6.545 MB / 1.849 GB, free: 8.172 MB / 1.389 GB Notification: Performance of sort global known variables: time 2.01e-07/2.199, allocations: 0 / 1.849 GB, free: 8.172 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.01025/2.209, allocations: 2.101 MB / 1.851 GB, free: 6.066 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.01939/2.228, allocations: 7.877 MB / 1.859 GB, free: 14.27 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.009576/2.238, allocations: 3.827 MB / 1.863 GB, free: 10.54 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/2.238, allocations: 1.875 kB / 1.863 GB, free: 10.54 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.004161/2.242, allocations: 1.643 MB / 1.864 GB, free: 8.941 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02677/2.269, allocations: 4.603 MB / 1.869 GB, free: 4.527 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.17/2.439, allocations: 64.6 MB / 1.932 GB, free: 3.137 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01112/2.45, allocations: 5.471 MB / 1.937 GB, free: 13.64 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.01072/2.461, allocations: 2.077 MB / 1.939 GB, free: 11.57 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008974/2.47, allocations: 3.349 MB / 1.942 GB, free: 8.219 MB / 1.482 GB Notification: Performance of SimCode: time 1.542e-06/2.47, allocations: 0 / 1.942 GB, free: 8.219 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3574/2.827, allocations: 225.9 MB / 2.163 GB, free: 8.297 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.5/29.33, allocations: 14.73 kB / 2.163 GB, free: 8.285 MB / 1.701 GB " [Timeout remaining time 270] (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 300] Reference file matches [Calling sys.exit(0), Time elapsed: 36.71989914192818]