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.00721/0.00721, allocations: 99.98 kB / 15.73 MB, free: 6.496 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.001683/0.001683, allocations: 199 kB / 16.68 MB, free: 6.375 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.604/2.604, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.12 kB / 1.054 GB, free: 7.66 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2763/0.2777, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.7921/1.07, allocations: 236.4 MB / 1.438 GB, free: 10.84 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.06306/1.133, allocations: 43.31 MB / 1.48 GB, free: 15.43 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01029/1.143, allocations: 234.6 kB / 1.481 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.01084/1.154, allocations: 3.282 MB / 1.484 GB, free: 11.9 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02267/1.177, allocations: 8.187 MB / 1.492 GB, free: 3.688 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.01345/1.19, allocations: 5.766 MB / 1.497 GB, free: 13.98 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03128/1.222, allocations: 26.76 MB / 1.524 GB, free: 3.152 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01541/1.237, allocations: 11.5 MB / 1.535 GB, free: 7.543 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02007/1.257, allocations: 9.881 MB / 1.544 GB, free: 13.66 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/1.27, allocations: 6.874 MB / 1.551 GB, free: 6.754 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.003419/1.273, allocations: 1.066 MB / 1.552 GB, free: 5.688 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/1.284, allocations: 3.476 MB / 1.556 GB, free: 2.207 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.004538/1.289, allocations: 2.641 MB / 1.558 GB, free: 15.56 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/1.3, allocations: 5.539 MB / 1.564 GB, free: 9.996 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02615/1.326, allocations: 18.41 MB / 1.582 GB, free: 7.539 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 9.237e-06/1.326, allocations: 3.984 kB / 1.582 GB, free: 7.535 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.124e-06/1.327, allocations: 0 / 1.582 GB, free: 7.535 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.000535/1.327, allocations: 4 kB / 1.582 GB, free: 7.531 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.02557/1.353, allocations: 10.36 MB / 1.592 GB, free: 13.06 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/1.353, allocations: 8.625 kB / 1.592 GB, free: 13.05 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002207/1.355, allocations: 0.6737 MB / 1.592 GB, free: 12.37 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007372/1.362, allocations: 1.359 MB / 1.594 GB, free: 11 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02224/1.385, allocations: 10.94 MB / 1.604 GB, free: 15.98 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006589/1.385, allocations: 481.9 kB / 1.605 GB, free: 15.5 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/1.387, allocations: 0.5233 MB / 1.605 GB, free: 14.98 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/1.403, allocations: 7.28 MB / 1.612 GB, free: 7.523 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/1.403, allocations: 7.938 kB / 1.612 GB, free: 7.516 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005263/1.404, allocations: 204 kB / 1.613 GB, free: 7.316 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001698/1.404, allocations: 197.4 kB / 1.613 GB, free: 7.121 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01147/1.416, allocations: 6.259 MB / 1.619 GB, free: 0.8477 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.0447/1.46, allocations: 33.86 MB / 1.652 GB, free: 12.95 MB / 1.342 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004474/1.465, allocations: 2.407 MB / 1.654 GB, free: 10.53 MB / 1.342 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003152/1.468, allocations: 1.799 MB / 1.656 GB, free: 8.734 MB / 1.342 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/1.47, allocations: 2.032 MB / 1.658 GB, free: 6.262 MB / 1.342 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003302/1.473, allocations: 1.815 MB / 1.66 GB, free: 4.434 MB / 1.342 GB Notification: Performance of pre-optimization done (n=220): time 4.769e-06/1.473, allocations: 0 / 1.66 GB, free: 4.434 MB / 1.342 GB Notification: Performance of matching and sorting (n=220): time 0.01054/1.484, allocations: 4.861 MB / 1.665 GB, free: 15.56 MB / 1.357 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/1.484, allocations: 81.34 kB / 1.665 GB, free: 15.47 MB / 1.357 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01522/1.499, allocations: 9.219 MB / 1.674 GB, free: 6.27 MB / 1.357 GB Notification: Performance of collectPreVariables (initialization): time 0.0008272/1.5, allocations: 89.7 kB / 1.674 GB, free: 6.176 MB / 1.357 GB Notification: Performance of collectInitialEqns (initialization): time 0.00424/1.504, allocations: 3.784 MB / 1.678 GB, free: 2.375 MB / 1.357 GB Notification: Performance of collectInitialBindings (initialization): time 0.001345/1.505, allocations: 0.7703 MB / 1.678 GB, free: 1.594 MB / 1.357 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00138/1.507, allocations: 0.7922 MB / 1.679 GB, free: 0.793 MB / 1.357 GB Notification: Performance of setup shared object (initialization): time 0.0001164/1.507, allocations: 301.1 kB / 1.679 GB, free: 0.4961 MB / 1.357 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003095/1.51, allocations: 1.669 MB / 1.681 GB, free: 14.82 MB / 1.373 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004374/1.514, allocations: 3.28 MB / 1.684 GB, free: 10.91 MB / 1.373 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/1.521, allocations: 4.354 MB / 1.688 GB, free: 6.098 MB / 1.373 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.967e-05/1.521, allocations: 8 kB / 1.688 GB, free: 6.09 MB / 1.373 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.01024/1.531, allocations: 5.117 MB / 1.693 GB, free: 0.918 MB / 1.373 GB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/1.531, allocations: 20 kB / 1.693 GB, free: 0.8984 MB / 1.373 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/1.531, allocations: 32 kB / 1.693 GB, free: 0.8672 MB / 1.373 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.577e-05/1.532, allocations: 51.98 kB / 1.694 GB, free: 0.8164 MB / 1.373 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/1.535, allocations: 0.831 MB / 1.694 GB, free: 15.98 MB / 1.389 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.677e-05/1.535, allocations: 71.67 kB / 1.694 GB, free: 15.91 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005786/1.541, allocations: 0.6286 MB / 1.695 GB, free: 15.28 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003229/1.541, allocations: 160 kB / 1.695 GB, free: 15.12 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.004787/1.546, allocations: 3.062 MB / 1.698 GB, free: 12.05 MB / 1.389 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002144/1.548, allocations: 0.7293 MB / 1.699 GB, free: 11.31 MB / 1.389 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008066/1.556, allocations: 4.088 MB / 1.703 GB, free: 7.219 MB / 1.389 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/1.556, allocations: 20 kB / 1.703 GB, free: 7.199 MB / 1.389 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.556, allocations: 8 kB / 1.703 GB, free: 7.191 MB / 1.389 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005457/1.561, allocations: 3.184 MB / 1.706 GB, free: 3.957 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.01976/1.581, allocations: 11.19 MB / 1.717 GB, free: 8.625 MB / 1.404 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/1.581, allocations: 4 kB / 1.717 GB, free: 8.621 MB / 1.404 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002434/1.584, allocations: 0.5269 MB / 1.717 GB, free: 8.094 MB / 1.404 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.6e-05/1.584, allocations: 12 kB / 1.717 GB, free: 8.082 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.584, allocations: 83.94 kB / 1.718 GB, free: 8 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.187e-05/1.584, allocations: 11.94 kB / 1.718 GB, free: 7.988 MB / 1.404 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.584, allocations: 4 kB / 1.718 GB, free: 7.984 MB / 1.404 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0109/1.595, allocations: 6.031 MB / 1.723 GB, free: 1.887 MB / 1.404 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003822/1.599, allocations: 1.433 MB / 1.725 GB, free: 436 kB / 1.404 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001529/1.6, allocations: 59.98 kB / 1.725 GB, free: 376 kB / 1.404 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003758/1.604, allocations: 251.5 kB / 1.725 GB, free: 124 kB / 1.404 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/1.604, allocations: 153.8 kB / 1.725 GB, free: 15.97 MB / 1.42 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002558/1.605, allocations: 119.8 kB / 1.725 GB, free: 15.86 MB / 1.42 GB Notification: Performance of sorting global known variables: time 0.01121/1.616, allocations: 6.549 MB / 1.732 GB, free: 9.332 MB / 1.42 GB Notification: Performance of sort global known variables: time 2.4e-07/1.616, allocations: 0 / 1.732 GB, free: 9.332 MB / 1.42 GB Notification: Performance of remove unused functions: time 0.007164/1.623, allocations: 2.082 MB / 1.734 GB, free: 7.246 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.01309/1.636, allocations: 7.62 MB / 1.741 GB, free: 15.59 MB / 1.436 GB Notification: Performance of simCode: created initialization part: time 0.007058/1.643, allocations: 3.812 MB / 1.745 GB, free: 11.78 MB / 1.436 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.643, allocations: 4 kB / 1.745 GB, free: 11.78 MB / 1.436 GB Notification: Performance of simCode: created simulation system equations: time 0.002984/1.646, allocations: 1.675 MB / 1.747 GB, free: 10.1 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01785/1.664, allocations: 4.558 MB / 1.751 GB, free: 5.691 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/1.773, allocations: 64.35 MB / 1.814 GB, free: 4.117 MB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.16/2.933, allocations: 5.514 MB / 1.819 GB, free: 0.4948 GB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.007656/2.941, allocations: 2.136 MB / 1.821 GB, free: 0.4947 GB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005263/2.946, allocations: 3.37 MB / 1.825 GB, free: 0.4947 GB / 1.498 GB Notification: Performance of SimCode: time 8.82e-07/2.946, allocations: 1.75 kB / 1.825 GB, free: 0.4947 GB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3091/3.255, allocations: 225.1 MB / 2.044 GB, free: 341.9 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.67/28.92, allocations: 7.688 kB / 2.045 GB, free: 341.9 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