Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001109, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 181.5 kB / 16.92 MB, free: 6.652 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.754/2.754, allocations: 437.8 MB / 0.7128 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003842/0.0003843, allocations: 12.28 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.691/0.6914, allocations: 153.8 MB / 1.024 GB, free: 16 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1313/0.8228, allocations: 129.4 MB / 1.15 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.03379/0.8566, allocations: 23.07 MB / 1.173 GB, free: 7.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006283/0.8629, allocations: 107.2 kB / 1.173 GB, free: 6.957 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.005605/0.8686, allocations: 1.212 MB / 1.174 GB, free: 5.738 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.8813, allocations: 3.777 MB / 1.178 GB, free: 1.949 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006184/0.8875, allocations: 1.957 MB / 1.179 GB, free: 12 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01428/0.9018, allocations: 8.282 MB / 1.188 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004922/0.9068, allocations: 1.914 MB / 1.189 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006228/0.913, allocations: 2.309 MB / 1.192 GB, free: 3.418 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.917, allocations: 1.784 MB / 1.193 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0008698/0.9179, allocations: 92 kB / 1.194 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/0.9232, allocations: 1.715 MB / 1.195 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.9242, allocations: 449.7 kB / 1.196 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.002899/0.9271, allocations: 1.295 MB / 1.197 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.005442/0.9326, allocations: 3.254 MB / 1.2 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.9326, allocations: 0 / 1.2 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9326, allocations: 0 / 1.2 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0001453/0.9328, allocations: 0 / 1.2 GB, free: 10.8 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.00587/0.9386, allocations: 2.686 MB / 1.203 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.9387, allocations: 8.031 kB / 1.203 GB, free: 8.027 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004828/0.9435, allocations: 0.9535 MB / 1.204 GB, free: 7.07 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004692/0.9482, allocations: 2.272 MB / 1.206 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/0.9493, allocations: 326.8 kB / 1.206 GB, free: 4.402 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003674/0.9497, allocations: 163.9 kB / 1.206 GB, free: 4.242 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004239/0.9539, allocations: 1.977 MB / 1.208 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.954, allocations: 7.875 kB / 1.208 GB, free: 2.191 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.9541, allocations: 64 kB / 1.208 GB, free: 2.129 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.9542, allocations: 36 kB / 1.208 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005076/0.9593, allocations: 1.917 MB / 1.21 GB, free: 180 kB / 0.9512 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.01574/0.975, allocations: 9.11 MB / 1.219 GB, free: 6.461 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/0.9796, allocations: 1.301 MB / 1.22 GB, free: 5.145 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.9808, allocations: 489.4 kB / 1.221 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001128/0.9819, allocations: 1.718 MB / 1.223 GB, free: 2.555 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.982, allocations: 42.56 kB / 1.223 GB, free: 2.504 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=76): time 2.545e-06/0.982, allocations: 4 kB / 1.223 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=76): time 0.009201/0.9912, allocations: 2.512 MB / 1.225 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.9913, allocations: 89.05 kB / 1.225 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/0.9958, allocations: 2.536 MB / 1.228 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002173/0.9961, allocations: 49.7 kB / 1.228 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008991/0.997, allocations: 1.053 MB / 1.229 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.9973, allocations: 276.1 kB / 1.229 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.9974, allocations: 89.67 kB / 1.229 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.9975, allocations: 345.9 kB / 1.229 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.9994, allocations: 0.6272 MB / 1.23 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/1.002, allocations: 1.017 MB / 1.231 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003113/1.005, allocations: 1.326 MB / 1.232 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/1.005, allocations: 4 kB / 1.232 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006964/1.012, allocations: 2.188 MB / 1.234 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/1.012, allocations: 8 kB / 1.234 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.012, allocations: 8 kB / 1.234 GB, free: 5.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/1.014, allocations: 0.5085 MB / 1.235 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.015, allocations: 307.6 kB / 1.235 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/1.017, allocations: 1.561 MB / 1.237 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/1.02, allocations: 481.9 kB / 1.237 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/1.021, allocations: 59.97 kB / 1.237 GB, free: 3.035 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009406/1.022, allocations: 461.5 kB / 1.238 GB, free: 2.574 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/1.022, allocations: 248.8 kB / 1.238 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/1.026, allocations: 1.544 MB / 1.239 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/1.026, allocations: 19.94 kB / 1.239 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.026, allocations: 4 kB / 1.239 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.026, allocations: 3.984 kB / 1.239 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008759/1.035, allocations: 3.701 MB / 1.243 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/1.035, allocations: 8.062 kB / 1.243 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/1.035, allocations: 131.8 kB / 1.243 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/1.037, allocations: 0.5033 MB / 1.244 GB, free: 12.28 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/1.037, allocations: 23.98 kB / 1.244 GB, free: 12.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002975/1.04, allocations: 1.651 MB / 1.245 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.04, allocations: 4 kB / 1.245 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006796/1.047, allocations: 2.076 MB / 1.247 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001486/1.049, allocations: 0.517 MB / 1.248 GB, free: 7.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007179/1.049, allocations: 16 kB / 1.248 GB, free: 7.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002335/1.052, allocations: 199.7 kB / 1.248 GB, free: 7.664 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.052, allocations: 63.98 kB / 1.248 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/1.052, allocations: 39.97 kB / 1.248 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00391/1.056, allocations: 1.793 MB / 1.25 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.91e-07/1.056, allocations: 4 kB / 1.25 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002923/1.059, allocations: 0.6827 MB / 1.251 GB, free: 5.078 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001489/1.06, allocations: 0.6049 MB / 1.251 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004616/1.065, allocations: 1.44 MB / 1.253 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.065, allocations: 4.188 kB / 1.253 GB, free: 3.031 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00264/1.068, allocations: 0.7298 MB / 1.253 GB, free: 2.301 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008745/1.076, allocations: 1.31 MB / 1.255 GB, free: 1.008 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.542/1.618, allocations: 4.396 MB / 1.259 GB, free: 221.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001506/1.62, allocations: 1.487 MB / 1.26 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001074/1.621, allocations: 194.6 kB / 1.26 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.012e-06/1.621, allocations: 0 / 1.26 GB, free: 220.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.08458/1.706, allocations: 61.83 MB / 1.321 GB, free: 180.9 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches