Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001024/0.001024, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000879/0.000879, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8891/0.8891, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.663/1.663, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.127e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.6038/0.6038, allocations: 216.2 MB / 1.211 GB, free: 0.7461 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.03984/0.6436, allocations: 40.53 MB / 1.25 GB, free: 15.71 MB / 1.089 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007209/0.6508, allocations: 325.2 kB / 1.251 GB, free: 15.39 MB / 1.089 GB Notification: Performance of NFTyping.typeComponents: time 0.006092/0.6569, allocations: 3.172 MB / 1.254 GB, free: 12.2 MB / 1.089 GB Notification: Performance of NFTyping.typeBindings: time 0.01666/0.6736, allocations: 8.534 MB / 1.262 GB, free: 3.641 MB / 1.089 GB Notification: Performance of NFTyping.typeClassSections: time 0.009626/0.6832, allocations: 6.014 MB / 1.268 GB, free: 13.69 MB / 1.104 GB Notification: Performance of NFFlatten.flatten: time 0.02127/0.7045, allocations: 27.13 MB / 1.295 GB, free: 2.496 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008096/0.7126, allocations: 7.292 MB / 1.302 GB, free: 11.1 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02274/0.7353, allocations: 14.11 MB / 1.315 GB, free: 12.98 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00931/0.7446, allocations: 6.631 MB / 1.322 GB, free: 6.336 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.7459, allocations: 1.051 MB / 1.323 GB, free: 5.285 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005769/0.7517, allocations: 3.034 MB / 1.326 GB, free: 2.246 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.7533, allocations: 2.76 MB / 1.329 GB, free: 15.48 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.004004/0.7573, allocations: 3.656 MB / 1.332 GB, free: 11.81 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.7724, allocations: 18.59 MB / 1.35 GB, free: 9.176 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.7724, allocations: 3.938 kB / 1.35 GB, free: 9.172 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7724, allocations: 0 / 1.35 GB, free: 9.172 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.00021/0.7726, allocations: 0 / 1.35 GB, free: 9.172 MB / 1.182 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.01146/0.7841, allocations: 10.47 MB / 1.361 GB, free: 14.61 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7841, allocations: 8.75 kB / 1.361 GB, free: 14.6 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006562/0.7848, allocations: 0.6655 MB / 1.361 GB, free: 13.93 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/0.7881, allocations: 1.501 MB / 1.363 GB, free: 12.42 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01147/0.7996, allocations: 11.23 MB / 1.374 GB, free: 1.078 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002864/0.7999, allocations: 0.5131 MB / 1.374 GB, free: 0.5352 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005545/0.8004, allocations: 0.5078 MB / 1.375 GB, free: 28 kB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00874/0.8092, allocations: 8.218 MB / 1.383 GB, free: 7.426 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-05/0.8092, allocations: 19.88 kB / 1.383 GB, free: 7.406 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003455/0.8096, allocations: 200 kB / 1.383 GB, free: 7.211 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-05/0.8097, allocations: 140 kB / 1.383 GB, free: 7.074 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007433/0.8171, allocations: 6.372 MB / 1.389 GB, free: 0.6875 MB / 1.214 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.02503/0.8421, allocations: 24.71 MB / 1.413 GB, free: 7.574 MB / 1.245 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.845, allocations: 2.485 MB / 1.416 GB, free: 5.086 MB / 1.245 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.847, allocations: 1.75 MB / 1.417 GB, free: 3.34 MB / 1.245 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005044/0.8475, allocations: 233.8 kB / 1.418 GB, free: 3.109 MB / 1.245 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002371/0.8499, allocations: 2.754 MB / 1.42 GB, free: 136 kB / 1.245 GB Notification: Performance of pre-optimization done (n=212): time 4.429e-06/0.8499, allocations: 0 / 1.42 GB, free: 136 kB / 1.245 GB Notification: Performance of matching and sorting (n=212): time 0.006834/0.8567, allocations: 5.172 MB / 1.425 GB, free: 10.95 MB / 1.26 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.8568, allocations: 77.41 kB / 1.425 GB, free: 10.86 MB / 1.26 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008148/0.8649, allocations: 9.339 MB / 1.435 GB, free: 1.547 MB / 1.26 GB Notification: Performance of collectPreVariables (initialization): time 0.0002849/0.8652, allocations: 93.69 kB / 1.435 GB, free: 1.449 MB / 1.26 GB Notification: Performance of collectInitialEqns (initialization): time 0.002627/0.8678, allocations: 3.845 MB / 1.438 GB, free: 13.59 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006737/0.8685, allocations: 0.767 MB / 1.439 GB, free: 12.81 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007769/0.8693, allocations: 0.7805 MB / 1.44 GB, free: 12.02 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.8694, allocations: 305.1 kB / 1.44 GB, free: 11.72 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.8713, allocations: 1.747 MB / 1.442 GB, free: 9.973 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003265/0.8746, allocations: 5.205 MB / 1.447 GB, free: 3.691 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004329/0.8789, allocations: 4.441 MB / 1.451 GB, free: 14.79 MB / 1.292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.367e-05/0.8789, allocations: 15.92 kB / 1.451 GB, free: 14.77 MB / 1.292 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.006799/0.8857, allocations: 5.271 MB / 1.457 GB, free: 9.449 MB / 1.292 GB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.8858, allocations: 20 kB / 1.457 GB, free: 9.43 MB / 1.292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.8858, allocations: 28 kB / 1.457 GB, free: 9.402 MB / 1.292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/0.8858, allocations: 48 kB / 1.457 GB, free: 9.355 MB / 1.292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.8875, allocations: 0.8269 MB / 1.457 GB, free: 8.527 MB / 1.292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.612e-05/0.8875, allocations: 67.78 kB / 1.458 GB, free: 8.461 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/0.8914, allocations: 0.6651 MB / 1.458 GB, free: 7.789 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002461/0.8917, allocations: 160 kB / 1.458 GB, free: 7.633 MB / 1.292 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.003698/0.8954, allocations: 3.062 MB / 1.461 GB, free: 4.559 MB / 1.292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/0.8965, allocations: 0.7685 MB / 1.462 GB, free: 3.785 MB / 1.292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005114/0.9016, allocations: 4.267 MB / 1.466 GB, free: 15.52 MB / 1.307 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.9016, allocations: 28 kB / 1.466 GB, free: 15.49 MB / 1.307 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.9017, allocations: 0 / 1.466 GB, free: 15.49 MB / 1.307 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003637/0.9053, allocations: 3.363 MB / 1.47 GB, free: 12.08 MB / 1.307 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.01166/0.917, allocations: 10.2 MB / 1.479 GB, free: 1.789 MB / 1.307 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.917, allocations: 4 kB / 1.479 GB, free: 1.785 MB / 1.307 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.9182, allocations: 0.5581 MB / 1.48 GB, free: 1.227 MB / 1.307 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.069e-05/0.9182, allocations: 12 kB / 1.48 GB, free: 1.215 MB / 1.307 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.9184, allocations: 79.88 kB / 1.48 GB, free: 1.137 MB / 1.307 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.9184, allocations: 16 kB / 1.48 GB, free: 1.121 MB / 1.307 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.9184, allocations: 3.938 kB / 1.48 GB, free: 1.117 MB / 1.307 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007149/0.9255, allocations: 6.4 MB / 1.486 GB, free: 10.67 MB / 1.323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002356/0.9279, allocations: 1.408 MB / 1.488 GB, free: 9.258 MB / 1.323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/0.9284, allocations: 52 kB / 1.488 GB, free: 9.207 MB / 1.323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.9302, allocations: 295.5 kB / 1.488 GB, free: 8.918 MB / 1.323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.9304, allocations: 145.7 kB / 1.488 GB, free: 8.773 MB / 1.323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/0.9306, allocations: 115.8 kB / 1.488 GB, free: 8.66 MB / 1.323 GB Notification: Performance of sorting global known variables: time 0.00703/0.9376, allocations: 6.613 MB / 1.495 GB, free: 2.074 MB / 1.323 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9376, allocations: 0 / 1.495 GB, free: 2.074 MB / 1.323 GB Notification: Performance of remove unused functions: time 0.004513/0.9421, allocations: 2.102 MB / 1.497 GB, free: 15.96 MB / 1.339 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.008691/0.9508, allocations: 7.97 MB / 1.505 GB, free: 7.969 MB / 1.339 GB Notification: Performance of simCode: created initialization part: time 0.005006/0.9558, allocations: 3.855 MB / 1.508 GB, free: 4.109 MB / 1.339 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.9558, allocations: 4 kB / 1.508 GB, free: 4.105 MB / 1.339 GB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.9577, allocations: 1.66 MB / 1.51 GB, free: 2.445 MB / 1.339 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01024/0.9679, allocations: 4.579 MB / 1.515 GB, free: 14.01 MB / 1.354 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8556/1.823, allocations: 65.04 MB / 1.578 GB, free: 451.5 MB / 1.401 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003112/1.827, allocations: 5.067 MB / 1.583 GB, free: 451.1 MB / 1.401 GB Notification: Performance of simCode: alias equations: time 0.005261/1.832, allocations: 2.129 MB / 1.585 GB, free: 451 MB / 1.401 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002819/1.835, allocations: 3.392 MB / 1.588 GB, free: 449.7 MB / 1.401 GB Notification: Performance of SimCode: time 1.423e-06/1.835, allocations: 0 / 1.588 GB, free: 449.7 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1881/2.023, allocations: 240.4 MB / 1.823 GB, free: 278.6 MB / 1.401 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/17.66, allocations: 0 / 1.823 GB, free: 278.6 MB / 1.401 GB " [Timeout remaining time 282] (rm -f Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --stepSize=0.4 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 22.17612369544804]