Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup,fileNamePrefix="Buildings_10_Buildings_Experimental_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.007543/0.007543, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001791/0.001791, allocations: 196.7 kB / 16.68 MB, free: 5.926 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.267/1.267, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.311/2.311, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7952, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup): time 0.214/1.009, allocations: 236.5 MB / 1.397 GB, free: 6.508 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.05787/1.067, allocations: 43.39 MB / 1.439 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009166/1.076, allocations: 234.6 kB / 1.44 GB, free: 10.79 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.009696/1.086, allocations: 3.278 MB / 1.443 GB, free: 7.492 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.02252/1.109, allocations: 8.199 MB / 1.451 GB, free: 15.27 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01364/1.122, allocations: 5.747 MB / 1.457 GB, free: 9.555 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.03353/1.156, allocations: 26.77 MB / 1.483 GB, free: 14.72 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01819/1.174, allocations: 11.5 MB / 1.494 GB, free: 3.102 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02265/1.197, allocations: 9.886 MB / 1.504 GB, free: 9.211 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01225/1.209, allocations: 6.866 MB / 1.51 GB, free: 2.316 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.00391/1.213, allocations: 1.066 MB / 1.511 GB, free: 1.25 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01178/1.225, allocations: 3.484 MB / 1.515 GB, free: 13.76 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.005979/1.231, allocations: 2.633 MB / 1.517 GB, free: 11.12 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.01662/1.248, allocations: 5.543 MB / 1.523 GB, free: 5.555 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.02714/1.275, allocations: 18.99 MB / 1.541 GB, free: 2.516 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/1.275, allocations: 0 / 1.541 GB, free: 2.516 MB / 1.264 GB Notification: Performance of FrontEnd: time 2.234e-06/1.275, allocations: 0 / 1.541 GB, free: 2.516 MB / 1.264 GB Notification: Performance of Transformations before backend: time 0.0005105/1.275, allocations: 0 / 1.541 GB, free: 2.516 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: 1243 * Number of variables: 1243 Notification: Performance of Generate backend data structure: time 0.02836/1.304, allocations: 10.37 MB / 1.551 GB, free: 8.035 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/1.304, allocations: 12.62 kB / 1.551 GB, free: 8.023 MB / 1.279 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002582/1.306, allocations: 0.6659 MB / 1.552 GB, free: 7.348 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008011/1.314, allocations: 1.355 MB / 1.553 GB, free: 5.98 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.115/2.43, allocations: 10.98 MB / 1.564 GB, free: 367.4 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007109/2.43, allocations: 475.5 kB / 1.564 GB, free: 367.1 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001751/2.432, allocations: 0.5159 MB / 1.565 GB, free: 367 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01298/2.445, allocations: 7.27 MB / 1.572 GB, free: 364 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/2.445, allocations: 7.812 kB / 1.572 GB, free: 363.9 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005099/2.446, allocations: 206.9 kB / 1.572 GB, free: 363.8 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/2.446, allocations: 203 kB / 1.572 GB, free: 363.8 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01058/2.457, allocations: 6.251 MB / 1.579 GB, free: 361.5 MB / 1.279 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.0381/2.495, allocations: 33.9 MB / 1.612 GB, free: 330.1 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003638/2.498, allocations: 2.389 MB / 1.614 GB, free: 327.8 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002586/2.501, allocations: 1.808 MB / 1.616 GB, free: 326 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001171/2.502, allocations: 2.031 MB / 1.618 GB, free: 323.5 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002948/2.505, allocations: 1.795 MB / 1.62 GB, free: 321.7 MB / 1.279 GB Notification: Performance of pre-optimization done (n=220): time 4.489e-06/2.505, allocations: 0 / 1.62 GB, free: 321.7 MB / 1.279 GB Notification: Performance of matching and sorting (n=220): time 0.009597/2.515, allocations: 4.87 MB / 1.624 GB, free: 316.8 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/2.515, allocations: 85.39 kB / 1.624 GB, free: 316.8 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01221/2.527, allocations: 9.21 MB / 1.633 GB, free: 307.6 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0008473/2.528, allocations: 93.69 kB / 1.633 GB, free: 307.5 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.002992/2.531, allocations: 3.786 MB / 1.637 GB, free: 303.7 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009979/2.532, allocations: 0.7782 MB / 1.638 GB, free: 302.9 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001003/2.533, allocations: 0.7946 MB / 1.639 GB, free: 302.1 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 4.108e-05/2.533, allocations: 305.1 kB / 1.639 GB, free: 301.8 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/2.536, allocations: 1.658 MB / 1.641 GB, free: 300.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/2.539, allocations: 3.28 MB / 1.644 GB, free: 296.3 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005445/2.544, allocations: 4.351 MB / 1.648 GB, free: 291.6 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/2.544, allocations: 8 kB / 1.648 GB, free: 291.6 MB / 1.279 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.009054/2.554, allocations: 5.119 MB / 1.653 GB, free: 286.4 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/2.554, allocations: 22.25 kB / 1.653 GB, free: 286.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/2.554, allocations: 34.91 kB / 1.653 GB, free: 286.4 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.502e-05/2.554, allocations: 48 kB / 1.653 GB, free: 286.3 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002908/2.557, allocations: 0.8416 MB / 1.654 GB, free: 285.5 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.218e-05/2.557, allocations: 73.94 kB / 1.654 GB, free: 285.4 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006191/2.563, allocations: 0.6182 MB / 1.655 GB, free: 284.8 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005459/2.563, allocations: 160 kB / 1.655 GB, free: 284.7 MB / 1.279 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],y1.y[1],chi.com.y1One) * 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.004729/2.568, allocations: 3.07 MB / 1.658 GB, free: 281.6 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002396/2.571, allocations: 0.7331 MB / 1.659 GB, free: 280.8 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007225/2.578, allocations: 4.089 MB / 1.663 GB, free: 276.8 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.861e-05/2.578, allocations: 31.98 kB / 1.663 GB, free: 276.8 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/2.578, allocations: 7.844 kB / 1.663 GB, free: 276.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004649/2.583, allocations: 3.177 MB / 1.666 GB, free: 273.5 MB / 1.279 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.02144/2.604, allocations: 11.22 MB / 1.677 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.079e-05/2.604, allocations: 0 / 1.677 GB, free: 262.2 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00223/2.606, allocations: 0.5308 MB / 1.677 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.882e-05/2.606, allocations: 12 kB / 1.677 GB, free: 261.7 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/2.607, allocations: 79.94 kB / 1.677 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/2.607, allocations: 8 kB / 1.677 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/2.607, allocations: 7.938 kB / 1.677 GB, free: 261.6 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/2.616, allocations: 6.038 MB / 1.683 GB, free: 255.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003563/2.62, allocations: 1.436 MB / 1.685 GB, free: 254 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001544/2.621, allocations: 59.98 kB / 1.685 GB, free: 254 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003739/2.625, allocations: 255.4 kB / 1.685 GB, free: 253.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/2.625, allocations: 144.9 kB / 1.685 GB, free: 253.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/2.626, allocations: 119.8 kB / 1.685 GB, free: 253.5 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.008922/2.635, allocations: 6.561 MB / 1.691 GB, free: 246.9 MB / 1.279 GB Notification: Performance of sort global known variables: time 8.22e-07/2.635, allocations: 0 / 1.691 GB, free: 246.9 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.006474/2.641, allocations: 2.081 MB / 1.694 GB, free: 244.9 MB / 1.279 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.com.y1One,y1.y[1],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.01142/2.653, allocations: 7.636 MB / 1.701 GB, free: 237.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006204/2.659, allocations: 3.809 MB / 1.705 GB, free: 233.6 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 7.754e-06/2.659, allocations: 4 kB / 1.705 GB, free: 233.6 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.002452/2.661, allocations: 1.675 MB / 1.706 GB, free: 231.9 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01843/2.68, allocations: 4.565 MB / 1.711 GB, free: 227.5 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09608/2.776, allocations: 64.38 MB / 1.774 GB, free: 162 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0045/2.78, allocations: 5.522 MB / 1.779 GB, free: 156.5 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.006831/2.787, allocations: 2.143 MB / 1.781 GB, free: 154.3 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005251/2.793, allocations: 3.369 MB / 1.784 GB, free: 151 MB / 1.279 GB Notification: Performance of SimCode: time 6.42e-07/2.793, allocations: 0 / 1.784 GB, free: 151 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2852/3.078, allocations: 226.2 MB / 2.005 GB, free: 6.367 MB / 1.358 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.86/27.93, allocations: 8.062 kB / 2.005 GB, free: 6.359 MB / 1.358 GB (rm -f Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; mkfifo Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe ; head -c 1048576 < Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe >> ../files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat --tempDir=temp_Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.fmu > Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Experimental_DHC_Plants_Combined_Subsystems_Validation_ChillerGroup.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Experimental.DHC.Plants.Combined.Subsystems.Validation.ChillerGroup.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches