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.001564/0.001564, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002405/0.002405, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 7.996 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.144/3.144, allocations: 0.49 GB / 0.7951 GB, free: 33.21 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="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.002/0.002, allocations: 68.19 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3576, allocations: 176.1 MB / 1.326 GB, free: 1.887 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.2508/0.6084, allocations: 241.5 MB / 1.562 GB, free: 15.55 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.06457/0.6729, allocations: 43.62 MB / 1.604 GB, free: 3.828 MB / 1.295 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01013/0.6831, allocations: 333.1 kB / 1.605 GB, free: 3.5 MB / 1.295 GB Notification: Performance of NFTyping.typeComponents: time 0.01121/0.6943, allocations: 3.309 MB / 1.608 GB, free: 176 kB / 1.295 GB Notification: Performance of NFTyping.typeBindings: time 0.8769/1.571, allocations: 8.287 MB / 1.616 GB, free: 61.98 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.01312/1.584, allocations: 5.908 MB / 1.622 GB, free: 61.93 MB / 1.295 GB Notification: Performance of NFFlatten.flatten: time 0.04104/1.625, allocations: 26.93 MB / 1.648 GB, free: 61.9 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.013/1.638, allocations: 7.505 MB / 1.655 GB, free: 61.41 MB / 1.295 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02192/1.66, allocations: 10.36 MB / 1.666 GB, free: 60.85 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01303/1.673, allocations: 7.017 MB / 1.672 GB, free: 59.68 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.003742/1.677, allocations: 1.049 MB / 1.673 GB, free: 59.68 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/1.69, allocations: 3.68 MB / 1.677 GB, free: 59.64 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.004739/1.695, allocations: 2.699 MB / 1.68 GB, free: 59.22 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.01445/1.709, allocations: 5.508 MB / 1.685 GB, free: 57.88 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02685/1.736, allocations: 18.48 MB / 1.703 GB, free: 55.6 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/1.736, allocations: 0 / 1.703 GB, free: 55.6 MB / 1.295 GB Notification: Performance of FrontEnd: time 1.764e-06/1.736, allocations: 0 / 1.703 GB, free: 55.6 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0005325/1.736, allocations: 0 / 1.703 GB, free: 55.6 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.0252/1.762, allocations: 10.52 MB / 1.713 GB, free: 48.53 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.762, allocations: 10.94 kB / 1.713 GB, free: 48.53 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001713/1.763, allocations: 0.6621 MB / 1.714 GB, free: 48.05 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/1.771, allocations: 1.453 MB / 1.715 GB, free: 47.35 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01998/1.791, allocations: 11.07 MB / 1.726 GB, free: 39.96 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/1.791, allocations: 0.5188 MB / 1.727 GB, free: 39.65 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001912/1.793, allocations: 0.5157 MB / 1.727 GB, free: 39.48 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01483/1.808, allocations: 7.35 MB / 1.734 GB, free: 35.06 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001172/1.808, allocations: 15.77 kB / 1.734 GB, free: 35.05 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005933/1.809, allocations: 204.4 kB / 1.735 GB, free: 34.9 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.766e-05/1.809, allocations: 133.2 kB / 1.735 GB, free: 34.84 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01097/1.82, allocations: 6.364 MB / 1.741 GB, free: 28.49 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.04533/1.865, allocations: 34.44 MB / 1.775 GB, free: 8.449 MB / 1.311 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005717/1.871, allocations: 2.475 MB / 1.777 GB, free: 5.977 MB / 1.311 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003654/1.874, allocations: 1.744 MB / 1.779 GB, free: 4.238 MB / 1.311 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000942/1.875, allocations: 246 kB / 1.779 GB, free: 4.012 MB / 1.311 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00391/1.879, allocations: 1.899 MB / 1.781 GB, free: 2.105 MB / 1.311 GB Notification: Performance of pre-optimization done (n=212): time 4.749e-06/1.879, allocations: 0 / 1.781 GB, free: 2.105 MB / 1.311 GB Notification: Performance of matching and sorting (n=212): time 0.01241/1.892, allocations: 5.136 MB / 1.786 GB, free: 12.96 MB / 1.326 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.933e-05/1.892, allocations: 73.41 kB / 1.786 GB, free: 12.88 MB / 1.326 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01818/1.91, allocations: 9.215 MB / 1.795 GB, free: 3.684 MB / 1.326 GB Notification: Performance of collectPreVariables (initialization): time 0.0009135/1.911, allocations: 85.7 kB / 1.795 GB, free: 3.594 MB / 1.326 GB Notification: Performance of collectInitialEqns (initialization): time 0.005422/1.916, allocations: 3.825 MB / 1.799 GB, free: 15.77 MB / 1.342 GB Notification: Performance of collectInitialBindings (initialization): time 0.00142/1.918, allocations: 0.7813 MB / 1.799 GB, free: 15 MB / 1.342 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/1.919, allocations: 0.7806 MB / 1.8 GB, free: 14.21 MB / 1.342 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.919, allocations: 309.1 kB / 1.801 GB, free: 13.9 MB / 1.342 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/1.923, allocations: 1.735 MB / 1.802 GB, free: 12.16 MB / 1.342 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005535/1.928, allocations: 3.343 MB / 1.805 GB, free: 8.215 MB / 1.342 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008628/1.937, allocations: 4.419 MB / 1.81 GB, free: 3.465 MB / 1.342 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/1.937, allocations: 12 kB / 1.81 GB, free: 3.453 MB / 1.342 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.01307/1.95, allocations: 5.243 MB / 1.815 GB, free: 14.34 MB / 1.357 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/1.95, allocations: 22.69 kB / 1.815 GB, free: 14.32 MB / 1.357 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-05/1.95, allocations: 32 kB / 1.815 GB, free: 14.29 MB / 1.357 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.403e-05/1.95, allocations: 52 kB / 1.815 GB, free: 14.24 MB / 1.357 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/1.954, allocations: 0.8223 MB / 1.816 GB, free: 13.46 MB / 1.357 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.037e-05/1.954, allocations: 70.88 kB / 1.816 GB, free: 13.41 MB / 1.357 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006616/1.96, allocations: 0.6631 MB / 1.817 GB, free: 12.75 MB / 1.357 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/1.961, allocations: 156 kB / 1.817 GB, free: 12.59 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.006395/1.967, allocations: 3.042 MB / 1.82 GB, free: 9.59 MB / 1.357 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002739/1.97, allocations: 0.7646 MB / 1.82 GB, free: 8.82 MB / 1.357 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00977/1.98, allocations: 4.239 MB / 1.825 GB, free: 4.586 MB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.343e-05/1.98, allocations: 23.98 kB / 1.825 GB, free: 4.562 MB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.98, allocations: 3.188 kB / 1.825 GB, free: 4.562 MB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006609/1.986, allocations: 3.332 MB / 1.828 GB, free: 1.184 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.02928/2.016, allocations: 11.34 MB / 1.839 GB, free: 5.777 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/2.016, allocations: 4 kB / 1.839 GB, free: 5.773 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00262/2.018, allocations: 0.5607 MB / 1.839 GB, free: 5.23 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.886e-05/2.018, allocations: 15.66 kB / 1.839 GB, free: 5.219 MB / 1.373 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001997/2.019, allocations: 79.88 kB / 1.84 GB, free: 5.141 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.961e-05/2.019, allocations: 12 kB / 1.84 GB, free: 5.129 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/2.019, allocations: 0 / 1.84 GB, free: 5.129 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01356/2.032, allocations: 6.359 MB / 1.846 GB, free: 14.73 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005126/2.037, allocations: 1.404 MB / 1.847 GB, free: 13.33 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002475/2.04, allocations: 55.98 kB / 1.847 GB, free: 13.27 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005279/2.045, allocations: 287.5 kB / 1.847 GB, free: 12.99 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004085/2.045, allocations: 156.8 kB / 1.848 GB, free: 12.84 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004427/2.046, allocations: 115.9 kB / 1.848 GB, free: 12.73 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.01758/2.063, allocations: 6.557 MB / 1.854 GB, free: 6.195 MB / 1.389 GB Notification: Performance of sort global known variables: time 4.81e-07/2.063, allocations: 0 / 1.854 GB, free: 6.195 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.009572/2.073, allocations: 2.098 MB / 1.856 GB, free: 4.094 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.01902/2.092, allocations: 7.894 MB / 1.864 GB, free: 12.27 MB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.009388/2.101, allocations: 3.839 MB / 1.868 GB, free: 8.543 MB / 1.404 GB Notification: Performance of simCode: created event and clocks part: time 8.726e-06/2.101, allocations: 0 / 1.868 GB, free: 8.543 MB / 1.404 GB Notification: Performance of simCode: created simulation system equations: time 0.003767/2.105, allocations: 1.648 MB / 1.869 GB, free: 6.938 MB / 1.404 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02536/2.131, allocations: 4.604 MB / 1.874 GB, free: 2.496 MB / 1.404 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1617/2.292, allocations: 64.66 MB / 1.937 GB, free: 1.086 MB / 1.467 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01146/2.304, allocations: 5.475 MB / 1.942 GB, free: 11.59 MB / 1.482 GB Notification: Performance of simCode: alias equations: time 0.01035/2.314, allocations: 2.088 MB / 1.944 GB, free: 9.531 MB / 1.482 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009105/2.323, allocations: 3.356 MB / 1.948 GB, free: 6.176 MB / 1.482 GB Notification: Performance of SimCode: time 1.102e-06/2.323, allocations: 0 / 1.948 GB, free: 6.176 MB / 1.482 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4081/2.731, allocations: 228.6 MB / 2.171 GB, free: 3.613 MB / 1.701 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.95/32.68, allocations: 3.859 kB / 2.171 GB, free: 3.609 MB / 1.701 GB " [Timeout remaining time 267] (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: 40.52376075601205]