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.001295/0.001295, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001421/0.001421, allocations: 219 kB / 23.03 MB, free: 4.922 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.425/1.425, allocations: 230.6 MB / 256.8 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.108/3.108, allocations: 0.49 GB / 0.7959 GB, free: 35.66 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="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.00194/0.00194, allocations: 67.39 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3752, allocations: 176.1 MB / 1.327 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2363/0.6114, allocations: 217.9 MB / 1.539 GB, free: 6.895 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.07371/0.6852, allocations: 40.48 MB / 1.579 GB, free: 14.31 MB / 1.279 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008834/0.694, allocations: 333.1 kB / 1.579 GB, free: 13.98 MB / 1.279 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/0.7047, allocations: 3.142 MB / 1.582 GB, free: 10.82 MB / 1.279 GB Notification: Performance of NFTyping.typeBindings: time 0.02423/0.7289, allocations: 8.307 MB / 1.59 GB, free: 2.488 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.7437, allocations: 5.837 MB / 1.596 GB, free: 12.7 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.9382/1.682, allocations: 26.91 MB / 1.622 GB, free: 64.11 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01897/1.701, allocations: 7.497 MB / 1.63 GB, free: 63.67 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02848/1.729, allocations: 10.44 MB / 1.64 GB, free: 63.5 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01754/1.747, allocations: 7.02 MB / 1.647 GB, free: 62.34 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.005243/1.752, allocations: 1.047 MB / 1.648 GB, free: 62.34 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01429/1.766, allocations: 3.017 MB / 1.651 GB, free: 62.34 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.006529/1.773, allocations: 2.704 MB / 1.653 GB, free: 61.92 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01505/1.788, allocations: 4.278 MB / 1.658 GB, free: 60.91 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.03168/1.82, allocations: 18.46 MB / 1.676 GB, free: 59.04 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.82, allocations: 0 / 1.676 GB, free: 59.04 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.314e-06/1.82, allocations: 0 / 1.676 GB, free: 59.04 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0007292/1.82, allocations: 1.031 kB / 1.676 GB, free: 59.04 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.04165/1.862, allocations: 10.51 MB / 1.686 GB, free: 55 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 6.908e-05/1.862, allocations: 9.219 kB / 1.686 GB, free: 55 MB / 1.295 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002555/1.862, allocations: 123.9 kB / 1.686 GB, free: 54.99 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004397/1.867, allocations: 0.6672 MB / 1.687 GB, free: 54.93 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009847/1.877, allocations: 1.458 MB / 1.688 GB, free: 54.37 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02514/1.902, allocations: 11.07 MB / 1.699 GB, free: 52.85 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007506/1.903, allocations: 0.514 MB / 1.699 GB, free: 52.71 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002916/1.905, allocations: 0.509 MB / 1.7 GB, free: 52.71 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02385/1.929, allocations: 8.211 MB / 1.708 GB, free: 51.08 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003344/1.93, allocations: 12.52 kB / 1.708 GB, free: 51.08 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002171/1.932, allocations: 210.2 kB / 1.708 GB, free: 51.08 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002052/1.932, allocations: 139.1 kB / 1.708 GB, free: 51.08 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01743/1.949, allocations: 6.363 MB / 1.714 GB, free: 51.01 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.05642/2.006, allocations: 24.66 MB / 1.739 GB, free: 35.5 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/2.012, allocations: 2.476 MB / 1.741 GB, free: 34.25 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003793/2.015, allocations: 1.741 MB / 1.743 GB, free: 33.38 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001011/2.016, allocations: 239.6 kB / 1.743 GB, free: 33.29 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004507/2.021, allocations: 2.745 MB / 1.746 GB, free: 31.17 MB / 1.295 GB Notification: Performance of pre-optimization done (n=212): time 6.031e-06/2.021, allocations: 0 / 1.746 GB, free: 31.17 MB / 1.295 GB Notification: Performance of matching and sorting (n=212): time 0.01426/2.035, allocations: 5.131 MB / 1.751 GB, free: 28.62 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.011e-05/2.035, allocations: 79.5 kB / 1.751 GB, free: 28.56 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02491/2.06, allocations: 9.21 MB / 1.76 GB, free: 20.15 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/2.061, allocations: 85.7 kB / 1.76 GB, free: 20.06 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00505/2.067, allocations: 3.827 MB / 1.763 GB, free: 16.24 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001593/2.068, allocations: 0.7804 MB / 1.764 GB, free: 15.47 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/2.07, allocations: 0.7767 MB / 1.765 GB, free: 14.68 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 6.26e-05/2.07, allocations: 305.1 kB / 1.765 GB, free: 14.38 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/2.073, allocations: 1.739 MB / 1.767 GB, free: 12.64 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004755/2.078, allocations: 5.189 MB / 1.772 GB, free: 6.391 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006811/2.084, allocations: 4.418 MB / 1.776 GB, free: 1.641 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/2.084, allocations: 8 kB / 1.776 GB, free: 1.633 MB / 1.295 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01346/2.098, allocations: 5.247 MB / 1.782 GB, free: 12.52 MB / 1.311 GB Notification: Performance of prepare postOptimizeDAE: time 5.903e-05/2.098, allocations: 20 kB / 1.782 GB, free: 12.5 MB / 1.311 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.861e-05/2.098, allocations: 32 kB / 1.782 GB, free: 12.46 MB / 1.311 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.421e-05/2.098, allocations: 48 kB / 1.782 GB, free: 12.42 MB / 1.311 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/2.102, allocations: 0.8322 MB / 1.782 GB, free: 11.64 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.44e-05/2.102, allocations: 65.39 kB / 1.782 GB, free: 11.59 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008729/2.111, allocations: 0.6617 MB / 1.783 GB, free: 10.93 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008936/2.112, allocations: 163.9 kB / 1.783 GB, free: 10.77 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.008382/2.12, allocations: 3.034 MB / 1.786 GB, free: 7.773 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003781/2.124, allocations: 0.7646 MB / 1.787 GB, free: 7.004 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/2.136, allocations: 4.254 MB / 1.791 GB, free: 2.766 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.072e-05/2.136, allocations: 27.98 kB / 1.791 GB, free: 2.738 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/2.136, allocations: 0 / 1.791 GB, free: 2.738 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007135/2.143, allocations: 3.325 MB / 1.794 GB, free: 15.36 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.03578/2.179, allocations: 10.15 MB / 1.804 GB, free: 5.207 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/2.179, allocations: 4 kB / 1.804 GB, free: 5.203 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/2.182, allocations: 0.5637 MB / 1.805 GB, free: 4.66 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/2.182, allocations: 12 kB / 1.805 GB, free: 4.648 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004705/2.183, allocations: 75.94 kB / 1.805 GB, free: 4.574 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-05/2.183, allocations: 12 kB / 1.805 GB, free: 4.562 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/2.183, allocations: 0 / 1.805 GB, free: 4.562 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/2.199, allocations: 6.361 MB / 1.811 GB, free: 14.16 MB / 1.342 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006087/2.205, allocations: 1.408 MB / 1.813 GB, free: 12.75 MB / 1.342 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003668/2.208, allocations: 48 kB / 1.813 GB, free: 12.7 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006714/2.215, allocations: 291.5 kB / 1.813 GB, free: 12.42 MB / 1.342 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006049/2.216, allocations: 157 kB / 1.813 GB, free: 12.27 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006258/2.216, allocations: 107.9 kB / 1.813 GB, free: 12.16 MB / 1.342 GB Notification: Performance of sorting global known variables: time 0.01921/2.235, allocations: 6.568 MB / 1.82 GB, free: 5.625 MB / 1.342 GB Notification: Performance of sort global known variables: time 2.6e-07/2.235, allocations: 0 / 1.82 GB, free: 5.625 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.01067/2.246, allocations: 2.098 MB / 1.822 GB, free: 3.523 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.02067/2.267, allocations: 7.884 MB / 1.829 GB, free: 11.7 MB / 1.357 GB Notification: Performance of simCode: created initialization part: time 0.01091/2.278, allocations: 3.842 MB / 1.833 GB, free: 7.973 MB / 1.357 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/2.278, allocations: 4 kB / 1.833 GB, free: 7.969 MB / 1.357 GB Notification: Performance of simCode: created simulation system equations: time 0.004442/2.282, allocations: 1.648 MB / 1.835 GB, free: 6.367 MB / 1.357 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02924/2.311, allocations: 4.601 MB / 1.839 GB, free: 1.953 MB / 1.357 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.174/2.485, allocations: 64.64 MB / 1.902 GB, free: 0.5586 MB / 1.42 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/2.497, allocations: 5.023 MB / 1.907 GB, free: 11.5 MB / 1.436 GB Notification: Performance of simCode: alias equations: time 0.009374/2.506, allocations: 2.082 MB / 1.909 GB, free: 9.457 MB / 1.436 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008453/2.515, allocations: 3.357 MB / 1.912 GB, free: 6.102 MB / 1.436 GB Notification: Performance of SimCode: time 1.272e-06/2.515, allocations: 0 / 1.912 GB, free: 6.102 MB / 1.436 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4175/2.932, allocations: 239.7 MB / 2.147 GB, free: 9.43 MB / 1.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 31.87/34.8, allocations: 3.984 kB / 2.147 GB, free: 9.426 MB / 1.67 GB " [Timeout remaining time 265] (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: 43.03996870794799]