Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.228/2.228, allocations: 390.3 MB / 402.8 MB, free: 6.703 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 176.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.3 MB / 0.7915 GB, free: 5.367 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 91.75 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.255e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3137, allocations: 143 MB / 1.219 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.285/1.599, allocations: 435.5 MB / 1.644 GB, free: 14.89 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.6, allocations: 88.52 kB / 1.644 GB, free: 14.81 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.886/6.486, allocations: 1.068 GB / 2.712 GB, free: 247.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.134e-06/6.486, allocations: 0 / 2.712 GB, free: 247.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.000221/6.486, allocations: 32.34 kB / 2.712 GB, free: 247.6 MB / 1.151 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.005401/6.492, allocations: 1.489 MB / 2.713 GB, free: 246.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.834e-05/6.492, allocations: 9.844 kB / 2.713 GB, free: 246.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002748/6.494, allocations: 451.4 kB / 2.714 GB, free: 246.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/6.499, allocations: 1.298 MB / 2.715 GB, free: 246.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003836/6.499, allocations: 127.5 kB / 2.715 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/6.499, allocations: 83.81 kB / 2.715 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/6.501, allocations: 0.8701 MB / 2.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/6.501, allocations: 3.844 kB / 2.716 GB, free: 245.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.67e-05/6.501, allocations: 33.22 kB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/6.501, allocations: 33.11 kB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/6.503, allocations: 0.6549 MB / 2.717 GB, free: 245.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.00622/6.509, allocations: 4.73 MB / 2.721 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/6.511, allocations: 0.6934 MB / 2.722 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/6.512, allocations: 213.5 kB / 2.722 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005398/6.512, allocations: 0.9093 MB / 2.723 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/6.512, allocations: 41.83 kB / 2.723 GB, free: 240.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=43): time 3.035e-06/6.512, allocations: 0 / 2.723 GB, free: 240.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=43): time 0.002563/6.515, allocations: 0.7692 MB / 2.724 GB, free: 240.3 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/6.515, allocations: 57.25 kB / 2.724 GB, free: 240.2 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/6.516, allocations: 0.8986 MB / 2.725 GB, free: 239.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.146e-05/6.516, allocations: 40.55 kB / 2.725 GB, free: 239.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003477/6.517, allocations: 0.5338 MB / 2.726 GB, free: 239.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/6.517, allocations: 154.4 kB / 2.726 GB, free: 239.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/6.517, allocations: 14.84 kB / 2.726 GB, free: 239.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.939e-05/6.517, allocations: 321.6 kB / 2.726 GB, free: 238.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/6.517, allocations: 184.1 kB / 2.726 GB, free: 238.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004292/6.518, allocations: 431.7 kB / 2.727 GB, free: 238.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/6.518, allocations: 225.1 kB / 2.727 GB, free: 238.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/6.518, allocations: 0 / 2.727 GB, free: 238.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00265/6.521, allocations: 0.9398 MB / 2.728 GB, free: 238.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.000364/6.521, allocations: 1.58 MB / 2.729 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/6.521, allocations: 4.625 kB / 2.729 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009199/6.522, allocations: 265 kB / 2.73 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004891/6.522, allocations: 121.1 kB / 2.73 GB, free: 236.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007877/6.523, allocations: 0.8327 MB / 2.73 GB, free: 235.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/6.525, allocations: 194.6 kB / 2.731 GB, free: 235.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.189e-05/6.525, allocations: 31.11 kB / 2.731 GB, free: 235.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/6.525, allocations: 9.797 kB / 2.731 GB, free: 235.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002387/6.527, allocations: 0.7964 MB / 2.731 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/6.527, allocations: 14.45 kB / 2.731 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007389/6.528, allocations: 255 kB / 2.732 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/6.528, allocations: 119.7 kB / 2.732 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006958/6.529, allocations: 0.8194 MB / 2.733 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/6.531, allocations: 170.2 kB / 2.733 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.583e-05/6.531, allocations: 35.17 kB / 2.733 GB, free: 234.7 MB / 1.151 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0002485/6.531, allocations: 145 kB / 2.733 GB, free: 234.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001981/6.531, allocations: 111.3 kB / 2.733 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001667/6.533, allocations: 0.7741 MB / 2.734 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/6.533, allocations: 9.938 kB / 2.734 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/6.533, allocations: 3.688 kB / 2.734 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/6.533, allocations: 0 / 2.734 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/6.537, allocations: 2.009 MB / 2.736 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/6.537, allocations: 3.969 kB / 2.736 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/6.537, allocations: 63.02 kB / 2.736 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007541/6.538, allocations: 272.4 kB / 2.736 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/6.538, allocations: 11.75 kB / 2.736 GB, free: 233.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008204/6.539, allocations: 0.8667 MB / 2.737 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/6.539, allocations: 5.375 kB / 2.737 GB, free: 232.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00279/6.542, allocations: 1.165 MB / 2.738 GB, free: 231.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007651/6.543, allocations: 280.9 kB / 2.738 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000336/6.543, allocations: 7.688 kB / 2.738 GB, free: 231.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/6.544, allocations: 119.2 kB / 2.739 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/6.544, allocations: 34.86 kB / 2.739 GB, free: 231.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.75e-05/6.544, allocations: 26.8 kB / 2.739 GB, free: 231.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00132/6.546, allocations: 0.7048 MB / 2.739 GB, free: 231.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.9e-07/6.546, allocations: 3.844 kB / 2.739 GB, free: 231.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002638/6.548, allocations: 0.6163 MB / 2.74 GB, free: 231.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * 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 {3 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.001614/6.55, allocations: 0.6746 MB / 2.741 GB, free: 230.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00215/6.552, allocations: 0.8709 MB / 2.741 GB, free: 230.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/6.552, allocations: 2.062 kB / 2.741 GB, free: 230.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006109/6.553, allocations: 304.4 kB / 2.742 GB, free: 230.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/6.555, allocations: 0.4901 MB / 2.742 GB, free: 230.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004867/6.56, allocations: 1.586 MB / 2.744 GB, free: 229.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006333/6.561, allocations: 1.08 MB / 2.745 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001524/6.562, allocations: 273.1 kB / 2.745 GB, free: 228.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/6.562, allocations: 62.88 kB / 2.745 GB, free: 228.6 MB / 1.151 GB Notification: Performance of SimCode: time 1.263e-06/6.562, allocations: 0 / 2.745 GB, free: 228.6 MB / 1.151 GB Notification: Performance of Templates: time 0.04769/6.61, allocations: 29.4 MB / 2.774 GB, free: 210.2 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches