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.000794/0.000794, 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.0008214/0.0008214, allocations: 169.9 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.865/0.865, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.69/1.69, allocations: 377.8 MB / 0.6221 GB, free: 8.656 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.981 GB, free: 2.59 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.693e-05/1.835e-05, allocations: 6.219 kB / 0.981 GB, free: 2.582 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.5429/0.5429, allocations: 216.3 MB / 1.192 GB, free: 7.312 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.04335/0.5863, allocations: 40.55 MB / 1.232 GB, free: 10.18 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007974/0.5943, allocations: 334.8 kB / 1.232 GB, free: 10 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.008211/0.6025, allocations: 3.169 MB / 1.235 GB, free: 7.391 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.01763/0.6201, allocations: 8.529 MB / 1.243 GB, free: 0.5352 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/0.6305, allocations: 6.038 MB / 1.249 GB, free: 11.77 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.02338/0.6539, allocations: 27.17 MB / 1.276 GB, free: 1.504 MB / 1.089 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01071/0.6646, allocations: 7.572 MB / 1.283 GB, free: 9.812 MB / 1.104 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02828/0.6929, allocations: 14.12 MB / 1.297 GB, free: 11.69 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0106/0.7035, allocations: 6.634 MB / 1.304 GB, free: 5.039 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 0.003087/0.7066, allocations: 1.047 MB / 1.305 GB, free: 3.992 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008305/0.7149, allocations: 3.034 MB / 1.308 GB, free: 0.9531 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 0.004024/0.7189, allocations: 2.76 MB / 1.31 GB, free: 14.18 MB / 1.135 GB Notification: Performance of NFVerifyModel.verify: time 0.01049/0.7294, allocations: 3.653 MB / 1.314 GB, free: 10.52 MB / 1.135 GB Notification: Performance of NFConvertDAE.convert: time 0.02255/0.7519, allocations: 18.6 MB / 1.332 GB, free: 7.875 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.7519, allocations: 0 / 1.332 GB, free: 7.875 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.984e-06/0.7519, allocations: 0 / 1.332 GB, free: 7.875 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0004979/0.7524, allocations: 0 / 1.332 GB, free: 7.875 MB / 1.151 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.01965/0.7721, allocations: 10.49 MB / 1.342 GB, free: 13.29 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.7721, allocations: 12.03 kB / 1.342 GB, free: 13.28 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001549/0.7737, allocations: 0.6656 MB / 1.343 GB, free: 12.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004838/0.7785, allocations: 1.458 MB / 1.344 GB, free: 11.14 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01678/0.7953, allocations: 11.25 MB / 1.355 GB, free: 15.77 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.7957, allocations: 0.513 MB / 1.356 GB, free: 15.24 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.797, allocations: 0.5039 MB / 1.356 GB, free: 14.73 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/0.8087, allocations: 8.213 MB / 1.364 GB, free: 6.141 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.422e-05/0.8087, allocations: 11.94 kB / 1.364 GB, free: 6.129 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004017/0.8091, allocations: 208 kB / 1.365 GB, free: 5.926 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-05/0.8092, allocations: 143.9 kB / 1.365 GB, free: 5.785 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008792/0.818, allocations: 6.356 MB / 1.371 GB, free: 15.41 MB / 1.198 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.03354/0.8516, allocations: 24.66 MB / 1.395 GB, free: 6.332 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003264/0.8548, allocations: 2.471 MB / 1.397 GB, free: 3.859 MB / 1.214 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002206/0.857, allocations: 1.75 MB / 1.399 GB, free: 2.105 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005208/0.8575, allocations: 233.8 kB / 1.399 GB, free: 1.875 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/0.8601, allocations: 2.754 MB / 1.402 GB, free: 14.9 MB / 1.229 GB Notification: Performance of pre-optimization done (n=212): time 4.458e-06/0.8601, allocations: 0 / 1.402 GB, free: 14.9 MB / 1.229 GB Notification: Performance of matching and sorting (n=212): time 0.00773/0.8679, allocations: 5.137 MB / 1.407 GB, free: 9.758 MB / 1.229 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.8679, allocations: 77.41 kB / 1.407 GB, free: 9.668 MB / 1.229 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/0.8796, allocations: 9.355 MB / 1.416 GB, free: 344 kB / 1.229 GB Notification: Performance of collectPreVariables (initialization): time 0.0007282/0.8803, allocations: 89.7 kB / 1.416 GB, free: 248 kB / 1.229 GB Notification: Performance of collectInitialEqns (initialization): time 0.003285/0.8836, allocations: 3.857 MB / 1.42 GB, free: 12.37 MB / 1.245 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.8847, allocations: 0.767 MB / 1.421 GB, free: 11.6 MB / 1.245 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.8857, allocations: 0.7728 MB / 1.422 GB, free: 10.82 MB / 1.245 GB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.8858, allocations: 309.1 kB / 1.422 GB, free: 10.51 MB / 1.245 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.8879, allocations: 1.728 MB / 1.424 GB, free: 8.781 MB / 1.245 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00366/0.8916, allocations: 5.193 MB / 1.429 GB, free: 2.508 MB / 1.245 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005021/0.8966, allocations: 4.418 MB / 1.433 GB, free: 13.63 MB / 1.26 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.01e-05/0.8966, allocations: 8 kB / 1.433 GB, free: 13.62 MB / 1.26 GB Notification: Performance of matching and sorting (n=402) (initialization): time 0.008278/0.9049, allocations: 5.255 MB / 1.438 GB, free: 8.312 MB / 1.26 GB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.9049, allocations: 23.94 kB / 1.438 GB, free: 8.289 MB / 1.26 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.48e-05/0.905, allocations: 35.98 kB / 1.438 GB, free: 8.254 MB / 1.26 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.905, allocations: 48.78 kB / 1.438 GB, free: 8.207 MB / 1.26 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.9068, allocations: 0.8307 MB / 1.439 GB, free: 7.375 MB / 1.26 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.554e-05/0.9069, allocations: 71.72 kB / 1.439 GB, free: 7.305 MB / 1.26 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/0.9115, allocations: 0.6574 MB / 1.44 GB, free: 6.645 MB / 1.26 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.9119, allocations: 160 kB / 1.44 GB, free: 6.488 MB / 1.26 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.004134/0.916, allocations: 3.071 MB / 1.443 GB, free: 3.406 MB / 1.26 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001975/0.918, allocations: 0.7685 MB / 1.444 GB, free: 2.633 MB / 1.26 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006089/0.9241, allocations: 4.237 MB / 1.448 GB, free: 14.4 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.429e-05/0.9241, allocations: 27.98 kB / 1.448 GB, free: 14.37 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.9241, allocations: 0 / 1.448 GB, free: 14.37 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003855/0.928, allocations: 3.332 MB / 1.451 GB, free: 10.99 MB / 1.276 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.01674/0.9447, allocations: 10.17 MB / 1.461 GB, free: 0.7188 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.9447, allocations: 7.984 kB / 1.461 GB, free: 0.7109 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.946, allocations: 0.5617 MB / 1.462 GB, free: 152 kB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.139e-05/0.9461, allocations: 12 kB / 1.462 GB, free: 140 kB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/0.9462, allocations: 71.94 kB / 1.462 GB, free: 68 kB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.9462, allocations: 12 kB / 1.462 GB, free: 56 kB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.9462, allocations: 4 kB / 1.462 GB, free: 52 kB / 1.276 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008632/0.9549, allocations: 6.361 MB / 1.468 GB, free: 9.645 MB / 1.292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003302/0.9582, allocations: 1.408 MB / 1.469 GB, free: 8.23 MB / 1.292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/0.9594, allocations: 48 kB / 1.469 GB, free: 8.184 MB / 1.292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/0.9619, allocations: 291.4 kB / 1.47 GB, free: 7.898 MB / 1.292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.9621, allocations: 157.5 kB / 1.47 GB, free: 7.742 MB / 1.292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/0.9623, allocations: 115.9 kB / 1.47 GB, free: 7.629 MB / 1.292 GB Notification: Performance of sorting global known variables: time 0.009292/0.9716, allocations: 6.618 MB / 1.476 GB, free: 1.039 MB / 1.292 GB Notification: Performance of sort global known variables: time 3.3e-07/0.9716, allocations: 4 kB / 1.476 GB, free: 1.035 MB / 1.292 GB Notification: Performance of remove unused functions: time 0.006164/0.9777, allocations: 2.105 MB / 1.478 GB, free: 14.93 MB / 1.307 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.01026/0.988, allocations: 7.927 MB / 1.486 GB, free: 6.965 MB / 1.307 GB Notification: Performance of simCode: created initialization part: time 0.005118/0.9931, allocations: 3.836 MB / 1.49 GB, free: 3.133 MB / 1.307 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/0.9931, allocations: 4 kB / 1.49 GB, free: 3.129 MB / 1.307 GB Notification: Performance of simCode: created simulation system equations: time 0.002012/0.9951, allocations: 1.651 MB / 1.491 GB, free: 1.473 MB / 1.307 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01217/1.007, allocations: 4.609 MB / 1.496 GB, free: 13.02 MB / 1.323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1168/1.124, allocations: 65.08 MB / 1.559 GB, free: 10.67 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004722/1.129, allocations: 5.074 MB / 1.564 GB, free: 5.559 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.005957/1.135, allocations: 2.11 MB / 1.566 GB, free: 3.48 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004168/1.139, allocations: 3.386 MB / 1.57 GB, free: 96 kB / 1.385 GB Notification: Performance of SimCode: time 1.323e-06/1.139, allocations: 0 / 1.57 GB, free: 96 kB / 1.385 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.917/2.056, allocations: 240.8 MB / 1.805 GB, free: 293.2 MB / 1.386 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/17.01, allocations: 11.8 kB / 1.805 GB, free: 293.2 MB / 1.386 GB " [Timeout remaining time 283] (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/jenkins/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: 21.55380429327488]