Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001131/0.001131, allocations: 92.16 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.001567/0.001567, allocations: 173 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.395/1.395, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.494/2.494, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003275/0.0003273, allocations: 8 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6738/0.6741, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07143/0.7456, allocations: 73.46 MB / 1.027 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01942/0.765, allocations: 12.68 MB / 1.04 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003627/0.7687, allocations: 55.62 kB / 1.04 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002641/0.7714, allocations: 0.6682 MB / 1.041 GB, free: 8.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007443/0.7789, allocations: 2.278 MB / 1.043 GB, free: 6.004 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.7827, allocations: 1.27 MB / 1.044 GB, free: 4.746 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.007475/0.7901, allocations: 5.543 MB / 1.049 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.7927, allocations: 1.153 MB / 1.051 GB, free: 14 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003618/0.7964, allocations: 1.31 MB / 1.052 GB, free: 12.69 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002387/0.7988, allocations: 1.131 MB / 1.053 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004988/0.7993, allocations: 56 kB / 1.053 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003627/0.803, allocations: 1.259 MB / 1.054 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006055/0.8036, allocations: 286.6 kB / 1.054 GB, free: 9.953 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/0.8052, allocations: 0.7983 MB / 1.055 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.8088, allocations: 2.166 MB / 1.057 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8088, allocations: 0 / 1.057 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8088, allocations: 0 / 1.057 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.459e-05/0.8089, allocations: 0 / 1.057 GB, free: 6.973 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00431/0.8132, allocations: 1.787 MB / 1.059 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.8133, allocations: 8.031 kB / 1.059 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.8144, allocations: 238.8 kB / 1.059 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00328/0.8177, allocations: 1.497 MB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.785e-05/0.8178, allocations: 78 kB / 1.061 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.818, allocations: 104 kB / 1.061 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.8205, allocations: 1.12 MB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.294e-05/0.8205, allocations: 3.938 kB / 1.062 GB, free: 1.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/0.8207, allocations: 36 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.8207, allocations: 27.98 kB / 1.062 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.8229, allocations: 0.9329 MB / 1.063 GB, free: 0.9922 MB / 0.8106 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.007494/0.8304, allocations: 4.919 MB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.832, allocations: 0.6526 MB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/0.8328, allocations: 374.3 kB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007014/0.8335, allocations: 0.8316 MB / 1.07 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/0.8335, allocations: 39.12 kB / 1.07 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 4.218e-06/0.8335, allocations: 3.984 kB / 1.07 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.008138/0.8417, allocations: 1.9 MB / 1.072 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.8418, allocations: 59.97 kB / 1.072 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00233/0.8441, allocations: 1.21 MB / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0002016/0.8443, allocations: 41.7 kB / 1.073 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006137/0.845, allocations: 0.5987 MB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/0.8453, allocations: 216.9 kB / 1.074 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001399/0.8454, allocations: 61.69 kB / 1.074 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.8456, allocations: 334 kB / 1.074 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008015/0.8464, allocations: 301.8 kB / 1.074 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009633/0.8474, allocations: 0.5068 MB / 1.075 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.849, allocations: 0.7433 MB / 1.076 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/0.849, allocations: 7.938 kB / 1.076 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005501/0.8545, allocations: 1.41 MB / 1.077 GB, free: 2.102 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.8547, allocations: 189.4 kB / 1.077 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.8547, allocations: 4 kB / 1.077 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007856/0.8555, allocations: 172.6 kB / 1.077 GB, free: 1.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.8562, allocations: 159.8 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009903/0.8572, allocations: 0.7318 MB / 1.078 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.8587, allocations: 167.1 kB / 1.078 GB, free: 0.6172 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.8589, allocations: 32 kB / 1.078 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.8589, allocations: 4 kB / 1.078 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004937/0.8638, allocations: 1.265 MB / 1.08 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.8639, allocations: 4.375 kB / 1.08 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007158/0.8646, allocations: 168.8 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.8653, allocations: 167.7 kB / 1.08 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009638/0.8663, allocations: 0.7318 MB / 1.081 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/0.8677, allocations: 159.2 kB / 1.081 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001001/0.8678, allocations: 35.98 kB / 1.081 GB, free: 14.03 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007757/0.8686, allocations: 413.4 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.8689, allocations: 142.2 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005233/0.8742, allocations: 1.412 MB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.436e-05/0.8742, allocations: 4 kB / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/0.8742, allocations: 0 / 1.083 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004706/0.879, allocations: 1.256 MB / 1.084 GB, free: 10.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/0.8868, allocations: 2.743 MB / 1.087 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.8868, allocations: 8.062 kB / 1.087 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005559/0.8874, allocations: 123.8 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006795/0.8881, allocations: 164.7 kB / 1.087 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.783e-05/0.8882, allocations: 16 kB / 1.087 GB, free: 7.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008991/0.8891, allocations: 0.7299 MB / 1.088 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.8891, allocations: 4 kB / 1.088 GB, free: 6.828 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005907/0.895, allocations: 1.856 MB / 1.089 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009013/0.8959, allocations: 331.1 kB / 1.09 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.8962, allocations: 16 kB / 1.09 GB, free: 4.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009549/0.8971, allocations: 107.7 kB / 1.09 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.8973, allocations: 56.25 kB / 1.09 GB, free: 4.383 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-05/0.8974, allocations: 31.97 kB / 1.09 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00165/0.899, allocations: 0.8699 MB / 1.091 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8991, allocations: 0 / 1.091 GB, free: 3.48 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002678/0.9017, allocations: 0.6979 MB / 1.091 GB, free: 2.781 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00124/0.903, allocations: 466.4 kB / 1.092 GB, free: 2.328 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002873/0.9059, allocations: 1.168 MB / 1.093 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.9059, allocations: 4 kB / 1.093 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009573/0.9069, allocations: 419.2 kB / 1.093 GB, free: 0.7539 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/0.9114, allocations: 0.7778 MB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004393/0.9158, allocations: 2.852 MB / 1.097 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007318/0.9166, allocations: 1.173 MB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004212/0.917, allocations: 115.4 kB / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of SimCode: time 8.12e-07/0.917, allocations: 0 / 1.098 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Templates: time 0.04223/0.9593, allocations: 30.64 MB / 1.128 GB, free: 13.27 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches