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.001651/0.001651, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002006/0.002006, allocations: 218.4 kB / 22.25 MB, free: 5.105 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.408/1.408, allocations: 230.6 MB / 256 MB, free: 7.785 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.04/3.04, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.002122/0.002122, allocations: 73.09 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3461, allocations: 176.1 MB / 1.326 GB, free: 1.512 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2633/0.6094, allocations: 218.1 MB / 1.539 GB, free: 6.672 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.06285/0.6723, allocations: 40.55 MB / 1.578 GB, free: 14.03 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007632/0.6799, allocations: 329.2 kB / 1.579 GB, free: 13.71 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.009107/0.689, allocations: 3.142 MB / 1.582 GB, free: 10.55 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02279/0.7118, allocations: 8.312 MB / 1.59 GB, free: 2.211 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01451/0.7263, allocations: 5.833 MB / 1.596 GB, free: 12.42 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.7687/1.495, allocations: 26.91 MB / 1.622 GB, free: 64.19 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/1.509, allocations: 7.535 MB / 1.629 GB, free: 63.75 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02381/1.533, allocations: 10.45 MB / 1.64 GB, free: 63.55 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/1.549, allocations: 7.009 MB / 1.646 GB, free: 62.39 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.0039/1.553, allocations: 1.051 MB / 1.647 GB, free: 62.39 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/1.565, allocations: 3.022 MB / 1.65 GB, free: 62.39 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006544/1.572, allocations: 2.69 MB / 1.653 GB, free: 61.98 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01237/1.584, allocations: 4.274 MB / 1.657 GB, free: 60.96 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02724/1.611, allocations: 18.47 MB / 1.675 GB, free: 59.09 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/1.611, allocations: 2.969 kB / 1.675 GB, free: 59.09 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.983e-06/1.611, allocations: 0 / 1.675 GB, free: 59.09 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0006395/1.612, allocations: 6.594 kB / 1.675 GB, free: 59.09 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.03099/1.643, allocations: 10.5 MB / 1.685 GB, free: 55.07 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/1.643, allocations: 10.28 kB / 1.685 GB, free: 55.07 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002693/1.646, allocations: 0.665 MB / 1.686 GB, free: 55 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00937/1.655, allocations: 1.453 MB / 1.688 GB, free: 54.46 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02341/1.678, allocations: 11.13 MB / 1.698 GB, free: 52.87 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005954/1.679, allocations: 0.5108 MB / 1.699 GB, free: 52.73 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002354/1.681, allocations: 0.5104 MB / 1.699 GB, free: 52.73 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01888/1.7, allocations: 8.212 MB / 1.707 GB, free: 51.1 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001636/1.7, allocations: 19.8 kB / 1.707 GB, free: 51.09 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/1.702, allocations: 204.5 kB / 1.708 GB, free: 51.09 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001525/1.702, allocations: 137.9 kB / 1.708 GB, free: 51.09 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/1.717, allocations: 6.354 MB / 1.714 GB, free: 51.02 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.04372/1.76, allocations: 24.67 MB / 1.738 GB, free: 35.36 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004753/1.765, allocations: 2.467 MB / 1.74 GB, free: 34.13 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00305/1.768, allocations: 1.742 MB / 1.742 GB, free: 33.25 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008528/1.769, allocations: 237.8 kB / 1.742 GB, free: 33.17 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003676/1.773, allocations: 2.742 MB / 1.745 GB, free: 31.05 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 5.931e-06/1.773, allocations: 0 / 1.745 GB, free: 31.05 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01099/1.784, allocations: 5.131 MB / 1.75 GB, free: 28.5 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/1.784, allocations: 77.17 kB / 1.75 GB, free: 28.44 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01616/1.8, allocations: 9.268 MB / 1.759 GB, free: 20.08 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0009498/1.801, allocations: 85.7 kB / 1.759 GB, free: 19.99 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.004655/1.805, allocations: 3.838 MB / 1.763 GB, free: 16.16 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.00136/1.807, allocations: 0.7748 MB / 1.764 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/1.808, allocations: 0.7806 MB / 1.765 GB, free: 14.6 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/1.808, allocations: 309.1 kB / 1.765 GB, free: 14.3 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00289/1.811, allocations: 1.732 MB / 1.767 GB, free: 12.56 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/1.815, allocations: 5.197 MB / 1.772 GB, free: 6.309 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006354/1.822, allocations: 4.417 MB / 1.776 GB, free: 1.559 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/1.822, allocations: 8 kB / 1.776 GB, free: 1.551 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01206/1.834, allocations: 5.24 MB / 1.781 GB, free: 12.44 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 4.222e-05/1.834, allocations: 16 kB / 1.781 GB, free: 12.42 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/1.834, allocations: 34.12 kB / 1.781 GB, free: 12.39 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.892e-05/1.834, allocations: 51.56 kB / 1.781 GB, free: 12.34 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003503/1.838, allocations: 0.8305 MB / 1.782 GB, free: 11.56 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.109e-05/1.838, allocations: 69.19 kB / 1.782 GB, free: 11.51 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00734/1.845, allocations: 0.6656 MB / 1.783 GB, free: 10.85 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006842/1.846, allocations: 160 kB / 1.783 GB, free: 10.69 MB / 1.311 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.006987/1.853, allocations: 3.034 MB / 1.786 GB, free: 7.695 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0033/1.856, allocations: 0.7685 MB / 1.787 GB, free: 6.922 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/1.867, allocations: 4.241 MB / 1.791 GB, free: 2.691 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.884e-05/1.867, allocations: 28 kB / 1.791 GB, free: 2.664 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.867, allocations: 0 / 1.791 GB, free: 2.664 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007033/1.874, allocations: 3.329 MB / 1.794 GB, free: 15.29 MB / 1.326 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.0275/1.901, allocations: 10.15 MB / 1.804 GB, free: 5.133 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/1.901, allocations: 4 kB / 1.804 GB, free: 5.129 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002778/1.904, allocations: 0.5583 MB / 1.804 GB, free: 4.59 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.462e-05/1.904, allocations: 11.94 kB / 1.804 GB, free: 4.578 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002656/1.904, allocations: 79.92 kB / 1.804 GB, free: 4.5 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.365e-05/1.904, allocations: 11.19 kB / 1.804 GB, free: 4.492 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.904, allocations: 4 kB / 1.804 GB, free: 4.488 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01433/1.919, allocations: 6.361 MB / 1.811 GB, free: 14.08 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005293/1.924, allocations: 1.408 MB / 1.812 GB, free: 12.68 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002397/1.926, allocations: 55.98 kB / 1.812 GB, free: 12.62 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005629/1.932, allocations: 285.1 kB / 1.812 GB, free: 12.34 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005005/1.933, allocations: 156.5 kB / 1.813 GB, free: 12.2 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004078/1.933, allocations: 111.9 kB / 1.813 GB, free: 12.09 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01563/1.949, allocations: 6.553 MB / 1.819 GB, free: 5.562 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.1e-07/1.949, allocations: 0 / 1.819 GB, free: 5.562 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.008834/1.957, allocations: 2.101 MB / 1.821 GB, free: 3.457 MB / 1.342 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.01723/1.975, allocations: 7.908 MB / 1.829 GB, free: 11.62 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.009692/1.984, allocations: 3.833 MB / 1.833 GB, free: 7.898 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/1.984, allocations: 4.125 kB / 1.833 GB, free: 7.895 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.004151/1.989, allocations: 1.645 MB / 1.834 GB, free: 6.297 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02299/2.012, allocations: 4.614 MB / 1.839 GB, free: 1.867 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1478/2.159, allocations: 64.61 MB / 1.902 GB, free: 0.4922 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009181/2.169, allocations: 5.024 MB / 1.907 GB, free: 11.44 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.00851/2.177, allocations: 2.116 MB / 1.909 GB, free: 9.352 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00752/2.185, allocations: 3.35 MB / 1.912 GB, free: 6.004 MB / 1.436 GB Notification: Performance of SimCode: time 1.292e-06/2.185, allocations: 0 / 1.912 GB, free: 6.004 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3806/2.565, allocations: 241.9 MB / 2.148 GB, free: 7.043 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.92/26.49, allocations: 0 / 2.148 GB, free: 7.043 MB / 1.67 GB " [Timeout remaining time 273] (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: 33.958250683004735]