Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_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.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.TSet|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP|heaPum.etaPL",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 91.92 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.001519/0.001519, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.254 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.5/2.5, allocations: 390.9 MB / 0.667 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003929/0.0003931, allocations: 15.98 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7065, allocations: 142.4 MB / 0.9557 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05711/0.7637, allocations: 59.79 MB / 1.014 GB, free: 3.391 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01739/0.7812, allocations: 11.91 MB / 1.026 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002459/0.7837, allocations: 51.62 kB / 1.026 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.7859, allocations: 0.5554 MB / 1.026 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.005998/0.7919, allocations: 1.809 MB / 1.028 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003361/0.7953, allocations: 1.074 MB / 1.029 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.005425/0.8007, allocations: 3.906 MB / 1.033 GB, free: 40 kB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.8029, allocations: 0.8999 MB / 1.034 GB, free: 15.11 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003174/0.8061, allocations: 1.112 MB / 1.035 GB, free: 13.99 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.808, allocations: 0.867 MB / 1.036 GB, free: 13.12 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0003674/0.8084, allocations: 40 kB / 1.036 GB, free: 13.08 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003153/0.8116, allocations: 1.341 MB / 1.037 GB, free: 11.74 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004757/0.8121, allocations: 206.9 kB / 1.037 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.8133, allocations: 0.635 MB / 1.038 GB, free: 10.89 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002794/0.8161, allocations: 1.703 MB / 1.04 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8162, allocations: 0 / 1.04 GB, free: 9.184 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.895e-06/0.8162, allocations: 0 / 1.04 GB, free: 9.184 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.283e-05/0.8163, allocations: 0 / 1.04 GB, free: 9.184 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.00352/0.8198, allocations: 1.481 MB / 1.041 GB, free: 7.645 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.8199, allocations: 12.03 kB / 1.041 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002584/0.8224, allocations: 474.8 kB / 1.041 GB, free: 7.168 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.8253, allocations: 1.124 MB / 1.043 GB, free: 5.984 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004103/0.8257, allocations: 133.9 kB / 1.043 GB, free: 5.855 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.826, allocations: 84 kB / 1.043 GB, free: 5.773 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.8285, allocations: 1.001 MB / 1.044 GB, free: 4.727 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.246e-05/0.8285, allocations: 7.938 kB / 1.044 GB, free: 4.719 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.905e-05/0.8286, allocations: 32 kB / 1.044 GB, free: 4.688 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/0.8286, allocations: 16 kB / 1.044 GB, free: 4.672 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002708/0.8314, allocations: 0.925 MB / 1.045 GB, free: 3.746 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.008048/0.8394, allocations: 4.902 MB / 1.05 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.8432, allocations: 0.8979 MB / 1.05 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008632/0.8442, allocations: 322 kB / 1.051 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007529/0.8449, allocations: 0.918 MB / 1.052 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.845, allocations: 38.5 kB / 1.052 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 2.846e-06/0.845, allocations: 0 / 1.052 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.009879/0.8549, allocations: 2.173 MB / 1.054 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.855, allocations: 59.36 kB / 1.054 GB, free: 9.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.8571, allocations: 1.048 MB / 1.055 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.8573, allocations: 37.7 kB / 1.055 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004923/0.8578, allocations: 0.5351 MB / 1.055 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.858, allocations: 153.8 kB / 1.056 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.8581, allocations: 41.7 kB / 1.056 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8582, allocations: 330 kB / 1.056 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.8593, allocations: 328.9 kB / 1.056 GB, free: 7.328 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001213/0.8605, allocations: 0.5216 MB / 1.057 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001886/0.8624, allocations: 0.7404 MB / 1.057 GB, free: 5.922 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.107e-06/0.8625, allocations: 3.938 kB / 1.057 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003089/0.8655, allocations: 1.051 MB / 1.058 GB, free: 4.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.8657, allocations: 212.1 kB / 1.059 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.702e-05/0.8658, allocations: 4 kB / 1.059 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.8672, allocations: 331.3 kB / 1.059 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000583/0.8678, allocations: 139.7 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001711/0.8696, allocations: 0.9386 MB / 1.06 GB, free: 3.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.8712, allocations: 191.3 kB / 1.06 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.8714, allocations: 31.98 kB / 1.06 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8714, allocations: 4 kB / 1.06 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002797/0.8742, allocations: 0.9143 MB / 1.061 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.8742, allocations: 4 kB / 1.061 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.8755, allocations: 324.9 kB / 1.061 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/0.8761, allocations: 131.8 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.8777, allocations: 0.9364 MB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/0.8792, allocations: 179.2 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.8793, allocations: 27.98 kB / 1.063 GB, free: 412 kB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.00069/0.88, allocations: 349.9 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.8804, allocations: 110.7 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004463/0.8848, allocations: 1.216 MB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.087e-05/0.8849, allocations: 8 kB / 1.064 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.8849, allocations: 7.938 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.885, allocations: 3.984 kB / 1.064 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006673/0.8916, allocations: 2.288 MB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.297e-05/0.8917, allocations: 4.281 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003316/0.892, allocations: 71.89 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001259/0.8933, allocations: 330 kB / 1.067 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/0.8934, allocations: 19.98 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.8952, allocations: 0.9621 MB / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.8952, allocations: 0 / 1.068 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004189/0.8994, allocations: 1.298 MB / 1.069 GB, free: 9.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006368/0.9, allocations: 279.5 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002311/0.9003, allocations: 11.98 kB / 1.069 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/0.9014, allocations: 115.8 kB / 1.07 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.9015, allocations: 43.83 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.9016, allocations: 23.98 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001497/0.9031, allocations: 0.7428 MB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9031, allocations: 0 / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001901/0.905, allocations: 0.5613 MB / 1.071 GB, free: 7.773 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.001037/0.906, allocations: 392 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.003587/0.9096, allocations: 1.172 MB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.9097, allocations: 0 / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.9107, allocations: 374.2 kB / 1.073 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/0.9142, allocations: 0.498 MB / 1.073 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006586/0.9208, allocations: 2.576 MB / 1.076 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/0.9217, allocations: 1.058 MB / 1.077 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003927/0.9221, allocations: 87.41 kB / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of SimCode: time 1.463e-06/0.9221, allocations: 0 / 1.077 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of Templates: time 0.03722/0.9594, allocations: 23.85 MB / 1.1 GB, free: 9.844 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches