Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_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_TEva_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.TSet|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_TEva_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_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.TSet|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_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009447/0.0009449, allocations: 98.88 kB / 16.02 MB, free: 76 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.001416/0.001416, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.277 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.425/2.425, allocations: 390.9 MB / 0.667 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003482/0.0003484, allocations: 12 kB / 0.8166 GB, free: 13.28 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6418/0.6422, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05868/0.7009, allocations: 59.77 MB / 1.014 GB, free: 3.441 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.7183, allocations: 11.92 MB / 1.026 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.7207, allocations: 55.62 kB / 1.026 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00202/0.7227, allocations: 0.5399 MB / 1.026 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.7285, allocations: 1.812 MB / 1.028 GB, free: 5.066 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003066/0.7316, allocations: 1.069 MB / 1.029 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005366/0.737, allocations: 3.902 MB / 1.033 GB, free: 100 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00164/0.7387, allocations: 0.9 MB / 1.034 GB, free: 15.17 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.7413, allocations: 1.124 MB / 1.035 GB, free: 14.04 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001557/0.7429, allocations: 0.8515 MB / 1.036 GB, free: 13.18 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.7431, allocations: 40 kB / 1.036 GB, free: 13.14 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002985/0.7461, allocations: 1.368 MB / 1.037 GB, free: 11.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003125/0.7464, allocations: 214.8 kB / 1.037 GB, free: 11.56 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0009711/0.7474, allocations: 0.6311 MB / 1.038 GB, free: 10.92 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.75, allocations: 1.707 MB / 1.04 GB, free: 9.211 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.75, allocations: 0 / 1.04 GB, free: 9.211 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.184e-06/0.75, allocations: 0 / 1.04 GB, free: 9.211 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.684e-05/0.75, allocations: 0 / 1.04 GB, free: 9.211 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002849/0.7529, allocations: 1.497 MB / 1.041 GB, free: 7.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.7529, allocations: 12.03 kB / 1.041 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.7547, allocations: 387 kB / 1.041 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002394/0.7571, allocations: 1.13 MB / 1.043 GB, free: 6.078 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.7575, allocations: 133.9 kB / 1.043 GB, free: 5.949 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.7577, allocations: 80 kB / 1.043 GB, free: 5.871 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.7597, allocations: 0.9661 MB / 1.044 GB, free: 4.859 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.7597, allocations: 7.984 kB / 1.044 GB, free: 4.852 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.681e-05/0.7598, allocations: 28 kB / 1.044 GB, free: 4.824 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.7598, allocations: 20 kB / 1.044 GB, free: 4.805 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/0.762, allocations: 0.8508 MB / 1.045 GB, free: 3.953 MB / 0.795 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.006825/0.7688, allocations: 4.811 MB / 1.049 GB, free: 14.78 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.7704, allocations: 0.5933 MB / 1.05 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006323/0.7711, allocations: 284.7 kB / 1.05 GB, free: 13.9 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.7726, allocations: 1.404 MB / 1.051 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.7726, allocations: 34.56 kB / 1.052 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.295e-06/0.7726, allocations: 0 / 1.052 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.006249/0.7789, allocations: 1.693 MB / 1.053 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.779, allocations: 67.34 kB / 1.053 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/0.7809, allocations: 1.055 MB / 1.054 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.161e-05/0.781, allocations: 41.7 kB / 1.054 GB, free: 9.238 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/0.7815, allocations: 0.5158 MB / 1.055 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/0.7816, allocations: 153.8 kB / 1.055 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.7817, allocations: 49.69 kB / 1.055 GB, free: 8.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7819, allocations: 326 kB / 1.055 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.7827, allocations: 289 kB / 1.056 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009905/0.7837, allocations: 495.7 kB / 1.056 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.7852, allocations: 0.6578 MB / 1.057 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.7852, allocations: 4 kB / 1.057 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002782/0.788, allocations: 0.9804 MB / 1.058 GB, free: 5.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/0.7882, allocations: 203.4 kB / 1.058 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.7882, allocations: 4 kB / 1.058 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/0.7897, allocations: 336.5 kB / 1.058 GB, free: 5.043 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004887/0.7902, allocations: 115.9 kB / 1.058 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001623/0.7918, allocations: 0.9483 MB / 1.059 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.7933, allocations: 175.3 kB / 1.059 GB, free: 3.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.573e-05/0.7934, allocations: 27.98 kB / 1.059 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.7934, allocations: 5.719 kB / 1.059 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002374/0.7958, allocations: 0.8478 MB / 1.06 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.7958, allocations: 8.344 kB / 1.06 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/0.7971, allocations: 332.5 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.7975, allocations: 107.9 kB / 1.061 GB, free: 2.461 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.7991, allocations: 0.9407 MB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.8004, allocations: 159.3 kB / 1.062 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.8006, allocations: 27.98 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0006896/0.8012, allocations: 355.8 kB / 1.062 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003353/0.8016, allocations: 106.7 kB / 1.062 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002511/0.8041, allocations: 0.9516 MB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.8041, allocations: 4 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.8042, allocations: 0 / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.8042, allocations: 3.984 kB / 1.063 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/0.8107, allocations: 2.327 MB / 1.065 GB, free: 13.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/0.8107, allocations: 7.938 kB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.811, allocations: 56.25 kB / 1.065 GB, free: 13.41 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.8122, allocations: 328.6 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.8123, allocations: 19.98 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.8139, allocations: 0.9711 MB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.8139, allocations: 7.938 kB / 1.067 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00472/0.8187, allocations: 1.353 MB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.8195, allocations: 287.4 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002915/0.8198, allocations: 15.94 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.8208, allocations: 99.91 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.914e-05/0.8209, allocations: 31.95 kB / 1.069 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.192e-05/0.821, allocations: 23.98 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001501/0.8225, allocations: 0.7508 MB / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8225, allocations: 0 / 1.069 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002037/0.8246, allocations: 0.5692 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009944/0.8256, allocations: 404 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003042/0.8286, allocations: 1.07 MB / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.8287, allocations: 0 / 1.071 GB, free: 7.395 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008456/0.8295, allocations: 338.5 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/0.8329, allocations: 0.5012 MB / 1.072 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00433/0.8373, allocations: 2.327 MB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008252/0.8381, allocations: 1.058 MB / 1.075 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.8385, allocations: 87.42 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of SimCode: time 1.272e-06/0.8385, allocations: 0 / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of Templates: time 0.03712/0.8756, allocations: 23.86 MB / 1.099 GB, free: 11.29 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches