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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.0008871/0.0008869, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.007015/0.007015, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.556/2.556, allocations: 390.9 MB / 0.6663 GB, free: 2.387 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003374, allocations: 11.98 kB / 0.816 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7422/0.7426, allocations: 142.4 MB / 0.955 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07308/0.8157, allocations: 73.47 MB / 1.027 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.8367, allocations: 12.67 MB / 1.039 GB, free: 8.988 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.8399, allocations: 55.62 kB / 1.039 GB, free: 8.934 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003186/0.8431, allocations: 0.6837 MB / 1.04 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.009686/0.8528, allocations: 2.271 MB / 1.042 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003864/0.8567, allocations: 1.26 MB / 1.043 GB, free: 4.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009651/0.8664, allocations: 5.539 MB / 1.049 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002861/0.8693, allocations: 1.153 MB / 1.05 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.8736, allocations: 1.314 MB / 1.051 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.8767, allocations: 1.132 MB / 1.052 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004931/0.8773, allocations: 56 kB / 1.052 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004349/0.8817, allocations: 1.251 MB / 1.054 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006916/0.8824, allocations: 298.6 kB / 1.054 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001833/0.8842, allocations: 0.7905 MB / 1.055 GB, free: 9.121 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.8891, allocations: 2.73 MB / 1.057 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8891, allocations: 0 / 1.057 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.794e-06/0.8891, allocations: 8 kB / 1.057 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.44e-05/0.8892, allocations: 0 / 1.057 GB, free: 6.375 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.003656/0.8928, allocations: 1.787 MB / 1.059 GB, free: 4.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.8929, allocations: 8.031 kB / 1.059 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008431/0.8937, allocations: 242.8 kB / 1.059 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.8962, allocations: 1.493 MB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.8963, allocations: 74 kB / 1.061 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/0.8964, allocations: 103.9 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/0.8986, allocations: 1.128 MB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.8987, allocations: 0 / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.194e-05/0.8988, allocations: 40 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.684e-05/0.8988, allocations: 24 kB / 1.062 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.9008, allocations: 0.9368 MB / 1.063 GB, free: 400 kB / 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.00643/0.9073, allocations: 4.923 MB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.9087, allocations: 0.6467 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007596/0.9095, allocations: 367.5 kB / 1.069 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006265/0.9101, allocations: 0.8316 MB / 1.07 GB, free: 9.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.9102, allocations: 39.12 kB / 1.07 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=62): time 2.404e-06/0.9102, allocations: 4 kB / 1.07 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of matching and sorting (n=62): time 0.007894/0.9181, allocations: 1.9 MB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.9182, allocations: 55.97 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00191/0.9201, allocations: 1.21 MB / 1.073 GB, free: 5.875 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.9202, allocations: 45.7 kB / 1.073 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005409/0.9208, allocations: 0.6025 MB / 1.073 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.000216/0.921, allocations: 220.9 kB / 1.074 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.75e-05/0.9211, allocations: 65.69 kB / 1.074 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.9212, allocations: 330 kB / 1.074 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007315/0.9219, allocations: 305.8 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008709/0.9228, allocations: 0.4965 MB / 1.075 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.9244, allocations: 0.7511 MB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.9244, allocations: 3.938 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005241/0.9296, allocations: 1.414 MB / 1.077 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.9298, allocations: 189.3 kB / 1.077 GB, free: 1.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.9298, allocations: 4 kB / 1.077 GB, free: 1.266 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007441/0.9305, allocations: 168.6 kB / 1.077 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006454/0.9312, allocations: 167.7 kB / 1.077 GB, free: 0.9336 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009567/0.9322, allocations: 0.7279 MB / 1.078 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.9336, allocations: 167 kB / 1.078 GB, free: 16 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/0.9337, allocations: 36.03 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.9337, allocations: 5.406 kB / 1.078 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004871/0.9386, allocations: 1.261 MB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.9387, allocations: 4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006633/0.9393, allocations: 165.1 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006289/0.94, allocations: 159.8 kB / 1.08 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009258/0.9409, allocations: 0.7356 MB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.9422, allocations: 163.2 kB / 1.081 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/0.9423, allocations: 32 kB / 1.081 GB, free: 13.43 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.0006726/0.943, allocations: 417.5 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.9432, allocations: 142.2 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/0.9483, allocations: 1.408 MB / 1.083 GB, free: 11.45 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.556e-05/0.9483, allocations: 11.98 kB / 1.083 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9484, allocations: 4 kB / 1.083 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004714/0.9531, allocations: 1.24 MB / 1.084 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008485/0.9616, allocations: 2.754 MB / 1.086 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/0.9617, allocations: 0 / 1.086 GB, free: 7.293 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000535/0.9622, allocations: 124.2 kB / 1.087 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006853/0.9629, allocations: 172.6 kB / 1.087 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.961e-05/0.963, allocations: 16 kB / 1.087 GB, free: 6.984 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008931/0.9639, allocations: 0.7201 MB / 1.087 GB, free: 6.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.9639, allocations: 8.062 kB / 1.087 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005778/0.9697, allocations: 1.863 MB / 1.089 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008105/0.9705, allocations: 331.1 kB / 1.09 GB, free: 3.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/0.9707, allocations: 20 kB / 1.09 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009403/0.9716, allocations: 97.81 kB / 1.09 GB, free: 3.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.9718, allocations: 56.25 kB / 1.09 GB, free: 3.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.5e-05/0.9718, allocations: 35.98 kB / 1.09 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001335/0.9732, allocations: 0.8699 MB / 1.091 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.7e-07/0.9732, allocations: 0 / 1.091 GB, free: 2.879 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001966/0.9752, allocations: 0.6979 MB / 1.091 GB, free: 2.18 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.001343/0.9765, allocations: 451.9 kB / 1.092 GB, free: 1.738 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003154/0.9797, allocations: 1.172 MB / 1.093 GB, free: 0.5703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.9797, allocations: 4.125 kB / 1.093 GB, free: 0.5664 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/0.9807, allocations: 403.2 kB / 1.093 GB, free: 180 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004658/0.9854, allocations: 0.7963 MB / 1.094 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004663/0.9901, allocations: 2.813 MB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.991, allocations: 1.173 MB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001452/0.9924, allocations: 310.9 kB / 1.098 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003249/0.9928, allocations: 111.4 kB / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of SimCode: time 1.242e-06/0.9928, allocations: 4 kB / 1.098 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of Templates: time 0.05843/1.051, allocations: 31.71 MB / 1.129 GB, free: 11.53 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/jenkins/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