Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,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",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,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",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001432/0.001432, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 240 MB, free: 5.426 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.537/2.537, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003235, allocations: 15.92 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5862/0.5866, allocations: 153.8 MB / 1.022 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05143/0.638, allocations: 56.55 MB / 1.078 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.6527, allocations: 11.21 MB / 1.089 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001531/0.6543, allocations: 51.62 kB / 1.089 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.6557, allocations: 456.9 kB / 1.089 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003959/0.6597, allocations: 1.539 MB / 1.091 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002398/0.6621, allocations: 0.8569 MB / 1.091 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003738/0.6658, allocations: 3.398 MB / 1.095 GB, free: 5.789 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.667, allocations: 0.7899 MB / 1.095 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001817/0.6688, allocations: 1.034 MB / 1.096 GB, free: 3.934 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.6699, allocations: 0.8049 MB / 1.097 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.67, allocations: 40 kB / 1.097 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002203/0.6722, allocations: 1.115 MB / 1.098 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.6725, allocations: 195 kB / 1.099 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.6728, allocations: 285 kB / 1.099 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001777/0.6745, allocations: 1.643 MB / 1.1 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.6746, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6746, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.941e-05/0.6746, allocations: 0 / 1.1 GB, free: 15.85 MB / 0.8575 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.002537/0.6771, allocations: 1.512 MB / 1.102 GB, free: 14.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.6772, allocations: 11.97 kB / 1.102 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.6788, allocations: 386 kB / 1.102 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.6807, allocations: 1.07 MB / 1.103 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/0.681, allocations: 137.9 kB / 1.103 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.6812, allocations: 84 kB / 1.104 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.683, allocations: 0.9544 MB / 1.105 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.683, allocations: 3.938 kB / 1.105 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.878e-05/0.6831, allocations: 43.97 kB / 1.105 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.6831, allocations: 20 kB / 1.105 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00199/0.6851, allocations: 0.8353 MB / 1.105 GB, free: 10.64 MB / 0.8575 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.005627/0.6908, allocations: 4.803 MB / 1.11 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.6923, allocations: 0.5976 MB / 1.111 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.6929, allocations: 282.5 kB / 1.111 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.6942, allocations: 1.388 MB / 1.112 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.6942, allocations: 38.56 kB / 1.112 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=43): time 2.155e-06/0.6942, allocations: 0 / 1.112 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of matching and sorting (n=43): time 0.007717/0.7019, allocations: 2.039 MB / 1.114 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.702, allocations: 59.34 kB / 1.114 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.7034, allocations: 1.048 MB / 1.115 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.7035, allocations: 33.7 kB / 1.115 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000412/0.7039, allocations: 0.5235 MB / 1.116 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.7041, allocations: 149.8 kB / 1.116 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.7041, allocations: 12 kB / 1.116 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.7042, allocations: 322 kB / 1.116 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007188/0.7049, allocations: 284.9 kB / 1.117 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000866/0.7058, allocations: 0.4976 MB / 1.117 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007587/0.7066, allocations: 315.8 kB / 1.117 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.7066, allocations: 0 / 1.117 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003176/0.7098, allocations: 1.16 MB / 1.119 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.7099, allocations: 204.4 kB / 1.119 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.7099, allocations: 4 kB / 1.119 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001176/0.7111, allocations: 336.6 kB / 1.119 GB, free: 11.69 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.7116, allocations: 115.8 kB / 1.119 GB, free: 11.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.713, allocations: 0.9387 MB / 1.12 GB, free: 10.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.7141, allocations: 191.1 kB / 1.12 GB, free: 10.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.7142, allocations: 24 kB / 1.12 GB, free: 10.4 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 8.526e-06/0.7142, allocations: 9.656 kB / 1.12 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002849/0.717, allocations: 1.008 MB / 1.121 GB, free: 9.383 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7171, allocations: 4 kB / 1.121 GB, free: 9.379 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.7181, allocations: 319.1 kB / 1.122 GB, free: 9.066 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004432/0.7185, allocations: 115.8 kB / 1.122 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/0.7199, allocations: 0.9309 MB / 1.123 GB, free: 7.996 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009947/0.7209, allocations: 163.3 kB / 1.123 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.949e-05/0.7209, allocations: 27.98 kB / 1.123 GB, free: 7.809 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004598/0.7214, allocations: 354.5 kB / 1.123 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001525/0.7216, allocations: 110.6 kB / 1.123 GB, free: 7.344 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003429/0.725, allocations: 1.152 MB / 1.124 GB, free: 6.172 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.725, allocations: 8 kB / 1.124 GB, free: 6.164 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.725, allocations: 3.953 kB / 1.124 GB, free: 6.16 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.725, allocations: 3.984 kB / 1.124 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.7296, allocations: 2.157 MB / 1.127 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.7296, allocations: 0 / 1.127 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002044/0.7298, allocations: 55.91 kB / 1.127 GB, free: 3.863 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009848/0.7308, allocations: 332.9 kB / 1.127 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.415e-05/0.7308, allocations: 12 kB / 1.127 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.7322, allocations: 0.9755 MB / 1.128 GB, free: 2.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.7323, allocations: 4 kB / 1.128 GB, free: 2.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/0.7353, allocations: 1.184 MB / 1.129 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003999/0.7358, allocations: 279.4 kB / 1.129 GB, free: 1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.7359, allocations: 12 kB / 1.129 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000802/0.7367, allocations: 107.8 kB / 1.129 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/0.7368, allocations: 39.83 kB / 1.129 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-05/0.7369, allocations: 19.98 kB / 1.129 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00107/0.7379, allocations: 0.735 MB / 1.13 GB, free: 84 kB / 0.8731 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7379, allocations: 0 / 1.13 GB, free: 84 kB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001441/0.7394, allocations: 0.5692 MB / 1.131 GB, free: 15.51 MB / 0.8887 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007087/0.7401, allocations: 390.5 kB / 1.131 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002577/0.7427, allocations: 1.042 MB / 1.132 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.204e-06/0.7427, allocations: 8 kB / 1.132 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007484/0.7435, allocations: 325.2 kB / 1.132 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/0.7457, allocations: 0.4986 MB / 1.133 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003287/0.749, allocations: 2.203 MB / 1.135 GB, free: 11.02 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005567/0.7496, allocations: 1.061 MB / 1.136 GB, free: 9.926 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0008453/0.7505, allocations: 221.5 kB / 1.136 GB, free: 9.711 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001681/0.7506, allocations: 79.42 kB / 1.136 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of SimCode: time 5.71e-07/0.7506, allocations: 0 / 1.136 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of Templates: time 0.03639/0.787, allocations: 23.2 MB / 1.159 GB, free: 2.723 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches