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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007528/0.007535, allocations: 104 kB / 15.73 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 190 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.751/2.751, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 1.054 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2954, allocations: 157.4 MB / 1.207 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.9148/1.21, allocations: 236.4 MB / 1.438 GB, free: 10.75 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06567/1.276, allocations: 43.31 MB / 1.48 GB, free: 15.35 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01117/1.287, allocations: 230.6 kB / 1.481 GB, free: 15.12 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.00992/1.297, allocations: 3.184 MB / 1.484 GB, free: 11.92 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02228/1.32, allocations: 7.749 MB / 1.491 GB, free: 4.145 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01395/1.334, allocations: 5.736 MB / 1.497 GB, free: 14.47 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03719/1.371, allocations: 26.72 MB / 1.523 GB, free: 3.68 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01889/1.39, allocations: 11.49 MB / 1.534 GB, free: 8.07 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02241/1.412, allocations: 9.867 MB / 1.544 GB, free: 14.2 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01271/1.425, allocations: 6.878 MB / 1.551 GB, free: 7.297 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.003933/1.429, allocations: 1.066 MB / 1.552 GB, free: 6.23 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/1.44, allocations: 3.472 MB / 1.555 GB, free: 2.754 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.004764/1.445, allocations: 2.641 MB / 1.558 GB, free: 108 kB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.01122/1.456, allocations: 5.543 MB / 1.563 GB, free: 10.54 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02572/1.482, allocations: 18.41 MB / 1.581 GB, free: 8.082 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/1.482, allocations: 0 / 1.581 GB, free: 8.082 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.613e-06/1.482, allocations: 3.938 kB / 1.581 GB, free: 8.078 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0005542/1.483, allocations: 0 / 1.581 GB, free: 8.078 MB / 1.264 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1244 * Number of variables: 1244 Notification: Performance of Generate backend data structure: time 0.03048/1.513, allocations: 10.35 MB / 1.591 GB, free: 13.61 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/1.513, allocations: 12.62 kB / 1.591 GB, free: 13.6 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00276/1.516, allocations: 0.6698 MB / 1.592 GB, free: 12.92 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008039/1.524, allocations: 1.355 MB / 1.593 GB, free: 11.55 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02318/1.547, allocations: 10.94 MB / 1.604 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005703/1.548, allocations: 470.1 kB / 1.604 GB, free: 56 kB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/1.55, allocations: 0.5233 MB / 1.605 GB, free: 15.53 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01986/1.57, allocations: 7.28 MB / 1.612 GB, free: 8.078 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002442/1.57, allocations: 11.94 kB / 1.612 GB, free: 8.066 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001569/1.572, allocations: 203.9 kB / 1.612 GB, free: 7.867 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002167/1.572, allocations: 197.4 kB / 1.612 GB, free: 7.672 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01597/1.588, allocations: 6.267 MB / 1.618 GB, free: 1.391 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.05358/1.642, allocations: 33.86 MB / 1.651 GB, free: 13.49 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004966/1.647, allocations: 2.392 MB / 1.654 GB, free: 11.09 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003504/1.65, allocations: 1.807 MB / 1.656 GB, free: 9.285 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001677/1.652, allocations: 2.032 MB / 1.658 GB, free: 6.812 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003873/1.656, allocations: 1.811 MB / 1.659 GB, free: 4.988 MB / 1.342 GB Notification: Performance of pre-optimization done (n=220): time 4.458e-06/1.656, allocations: 4 kB / 1.659 GB, free: 4.984 MB / 1.342 GB Notification: Performance of matching and sorting (n=220): time 0.01122/1.667, allocations: 4.864 MB / 1.664 GB, free: 112 kB / 1.342 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/1.667, allocations: 77.41 kB / 1.664 GB, free: 24 kB / 1.342 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01794/1.685, allocations: 9.211 MB / 1.673 GB, free: 6.832 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.0008358/1.686, allocations: 89.7 kB / 1.673 GB, free: 6.738 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.004917/1.691, allocations: 3.784 MB / 1.677 GB, free: 2.934 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001318/1.692, allocations: 0.7781 MB / 1.678 GB, free: 2.145 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002294/1.694, allocations: 0.7961 MB / 1.678 GB, free: 1.34 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/1.695, allocations: 305.1 kB / 1.679 GB, free: 1.039 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003678/1.698, allocations: 1.662 MB / 1.68 GB, free: 15.38 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005354/1.704, allocations: 3.28 MB / 1.684 GB, free: 11.46 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/1.713, allocations: 4.354 MB / 1.688 GB, free: 6.648 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.991e-05/1.713, allocations: 11.94 kB / 1.688 GB, free: 6.637 MB / 1.373 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01275/1.726, allocations: 5.112 MB / 1.693 GB, free: 1.469 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/1.726, allocations: 21 kB / 1.693 GB, free: 1.449 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.075e-05/1.726, allocations: 28 kB / 1.693 GB, free: 1.422 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.577e-05/1.726, allocations: 52 kB / 1.693 GB, free: 1.371 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0035/1.73, allocations: 0.8425 MB / 1.694 GB, free: 0.5273 MB / 1.373 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-05/1.73, allocations: 67.78 kB / 1.694 GB, free: 472 kB / 1.373 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006807/1.737, allocations: 0.6247 MB / 1.694 GB, free: 15.83 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004902/1.737, allocations: 156 kB / 1.695 GB, free: 15.68 MB / 1.389 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 (414): * Single equations (assignments): 414 * 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.005438/1.743, allocations: 3.066 MB / 1.698 GB, free: 12.6 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0025/1.745, allocations: 0.7293 MB / 1.698 GB, free: 11.86 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009412/1.755, allocations: 4.085 MB / 1.702 GB, free: 7.773 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.041e-05/1.755, allocations: 24 kB / 1.702 GB, free: 7.75 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/1.755, allocations: 0 / 1.702 GB, free: 7.75 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006003/1.761, allocations: 3.192 MB / 1.705 GB, free: 4.508 MB / 1.389 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.02531/1.786, allocations: 11.2 MB / 1.716 GB, free: 9.16 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/1.786, allocations: 4 kB / 1.716 GB, free: 9.156 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002603/1.789, allocations: 0.5308 MB / 1.717 GB, free: 8.625 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-05/1.789, allocations: 8 kB / 1.717 GB, free: 8.617 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002895/1.789, allocations: 83.94 kB / 1.717 GB, free: 8.535 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/1.789, allocations: 8 kB / 1.717 GB, free: 8.527 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.789, allocations: 4 kB / 1.717 GB, free: 8.523 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.801, allocations: 6.03 MB / 1.723 GB, free: 2.426 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004643/1.806, allocations: 1.437 MB / 1.724 GB, free: 0.9609 MB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002555/1.808, allocations: 63.98 kB / 1.724 GB, free: 0.8984 MB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005516/1.814, allocations: 251.4 kB / 1.725 GB, free: 0.6523 MB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004123/1.814, allocations: 145.7 kB / 1.725 GB, free: 0.5117 MB / 1.404 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000431/1.815, allocations: 115.9 kB / 1.725 GB, free: 408 kB / 1.404 GB Notification: Performance of sorting global known variables: time 0.01373/1.829, allocations: 6.553 MB / 1.731 GB, free: 9.871 MB / 1.42 GB Notification: Performance of sort global known variables: time 4.81e-07/1.829, allocations: 4 kB / 1.731 GB, free: 9.867 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.008221/1.837, allocations: 2.082 MB / 1.733 GB, free: 7.781 MB / 1.42 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (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].filter.s[1],chi.valEva.val[1].filter.s[2],chi.valEva.val[2].filter.s[1],chi.valEva.val[2].filter.s[2],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].filter.s[1],chi.valCon.val[1].filter.s[2],chi.valCon.val[2].filter.s[1],chi.valCon.val[2].filter.s[2],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 (230): * Single equations (assignments): 217 * 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.01619/1.853, allocations: 7.615 MB / 1.741 GB, free: 140 kB / 1.42 GB Notification: Performance of simCode: created initialization part: time 0.007831/1.861, allocations: 3.82 MB / 1.744 GB, free: 12.32 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 9.408e-06/1.861, allocations: 0 / 1.744 GB, free: 12.32 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.003445/1.864, allocations: 1.668 MB / 1.746 GB, free: 10.65 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02406/1.888, allocations: 4.563 MB / 1.75 GB, free: 6.234 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1356/2.024, allocations: 64.35 MB / 1.813 GB, free: 4.66 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.089/3.113, allocations: 5.513 MB / 1.819 GB, free: 0.4931 GB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.007472/3.121, allocations: 2.137 MB / 1.821 GB, free: 0.493 GB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005408/3.126, allocations: 3.365 MB / 1.824 GB, free: 0.493 GB / 1.498 GB Notification: Performance of SimCode: time 8.01e-07/3.126, allocations: 0 / 1.824 GB, free: 0.493 GB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2732/3.399, allocations: 228.1 MB / 2.047 GB, free: 338.3 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.94/28.34, allocations: 7.688 kB / 2.047 GB, free: 338.3 MB / 1.498 GB (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 --timeout=50 --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) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches