Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_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_latest_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_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.419/2.419, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001507/0.001507, allocations: 180.9 kB / 496.1 MB, free: 12.86 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.56/1.56, allocations: 221.3 MB / 0.7915 GB, free: 5.406 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.0008924/0.0008926, allocations: 95.22 kB / 0.9318 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.455e-05/3.482e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 143 MB / 1.219 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.286/1.583, allocations: 435.5 MB / 1.644 GB, free: 15.02 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/1.584, allocations: 91.94 kB / 1.644 GB, free: 14.93 MB / 1.104 GB Notification: Performance of FrontEnd - DAE generated: time 4.84/6.423, allocations: 1.068 GB / 2.712 GB, free: 247.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.823e-06/6.424, allocations: 0 / 2.712 GB, free: 247.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002276/6.424, allocations: 39.31 kB / 2.712 GB, free: 247.3 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.004655/6.428, allocations: 1.492 MB / 2.713 GB, free: 246.6 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/6.429, allocations: 7.625 kB / 2.713 GB, free: 246.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002115/6.431, allocations: 353.8 kB / 2.714 GB, free: 246.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004259/6.435, allocations: 1.263 MB / 2.715 GB, free: 246 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003953/6.435, allocations: 125 kB / 2.715 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/6.436, allocations: 85.84 kB / 2.715 GB, free: 245.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/6.438, allocations: 0.8529 MB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/6.438, allocations: 1.5 kB / 2.716 GB, free: 245.5 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/6.438, allocations: 34.25 kB / 2.716 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.57e-05/6.438, allocations: 34.67 kB / 2.716 GB, free: 245.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/6.44, allocations: 0.6298 MB / 2.717 GB, free: 245.2 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.0106/6.45, allocations: 4.631 MB / 2.721 GB, free: 241.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/6.451, allocations: 437.3 kB / 2.722 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003589/6.452, allocations: 197.1 kB / 2.722 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001341/6.453, allocations: 1.366 MB / 2.723 GB, free: 240.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.907e-05/6.453, allocations: 40.28 kB / 2.723 GB, free: 240 MB / 1.151 GB Notification: Performance of pre-optimization done (n=42): time 4.939e-06/6.453, allocations: 3.5 kB / 2.723 GB, free: 240 MB / 1.151 GB Notification: Performance of matching and sorting (n=42): time 0.003262/6.456, allocations: 0.737 MB / 2.724 GB, free: 239.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.446e-05/6.457, allocations: 57.86 kB / 2.724 GB, free: 239.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/6.459, allocations: 0.9003 MB / 2.725 GB, free: 239.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/6.459, allocations: 37.55 kB / 2.725 GB, free: 239.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005579/6.46, allocations: 0.5359 MB / 2.725 GB, free: 238.9 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/6.46, allocations: 152 kB / 2.726 GB, free: 238.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.273e-05/6.46, allocations: 7.969 kB / 2.726 GB, free: 238.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.568e-05/6.46, allocations: 331.3 kB / 2.726 GB, free: 238.4 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003311/6.46, allocations: 162.8 kB / 2.726 GB, free: 238.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000501/6.461, allocations: 412.1 kB / 2.726 GB, free: 238 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/6.461, allocations: 209.6 kB / 2.727 GB, free: 237.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/6.461, allocations: 0 / 2.727 GB, free: 237.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.003035/6.464, allocations: 0.9068 MB / 2.727 GB, free: 237.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004681/6.465, allocations: 1.587 MB / 2.729 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/6.465, allocations: 3.281 kB / 2.729 GB, free: 236 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009867/6.466, allocations: 256.1 kB / 2.729 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/6.466, allocations: 99.25 kB / 2.729 GB, free: 235.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000827/6.467, allocations: 0.8312 MB / 2.73 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/6.469, allocations: 181.2 kB / 2.73 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.477e-05/6.469, allocations: 35.16 kB / 2.73 GB, free: 235.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/6.469, allocations: 3.906 kB / 2.73 GB, free: 235.2 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002406/6.471, allocations: 0.7742 MB / 2.731 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/6.471, allocations: 7.562 kB / 2.731 GB, free: 235 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007462/6.472, allocations: 255.1 kB / 2.731 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/6.473, allocations: 110.4 kB / 2.732 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/6.473, allocations: 0.8163 MB / 2.732 GB, free: 234.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/6.475, allocations: 162.3 kB / 2.732 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/6.475, allocations: 26.91 kB / 2.733 GB, free: 234.2 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.0002585/6.475, allocations: 145.9 kB / 2.733 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/6.475, allocations: 112.4 kB / 2.733 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002985/6.478, allocations: 0.9535 MB / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/6.478, allocations: 7.188 kB / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/6.478, allocations: 0 / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/6.478, allocations: 9.125 kB / 2.734 GB, free: 233.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/6.483, allocations: 1.929 MB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/6.483, allocations: 3.406 kB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001896/6.483, allocations: 56.53 kB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007155/6.484, allocations: 258.9 kB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/6.484, allocations: 12.88 kB / 2.736 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007535/6.484, allocations: 0.8591 MB / 2.737 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/6.484, allocations: 3.812 kB / 2.737 GB, free: 232.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002495/6.487, allocations: 1.096 MB / 2.738 GB, free: 231.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006038/6.488, allocations: 278.4 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/6.488, allocations: 7.719 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/6.489, allocations: 101.7 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.745e-05/6.489, allocations: 38.06 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.686e-05/6.489, allocations: 19.36 kB / 2.738 GB, free: 231.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001056/6.49, allocations: 0.7088 MB / 2.739 GB, free: 230.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.974e-06/6.49, allocations: 2.938 kB / 2.739 GB, free: 230.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002361/6.492, allocations: 0.636 MB / 2.74 GB, free: 230.8 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 (31): * Single equations (assignments): 26 * 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 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001625/6.494, allocations: 0.7029 MB / 2.74 GB, free: 230.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001907/6.496, allocations: 0.821 MB / 2.741 GB, free: 230.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/6.496, allocations: 0 / 2.741 GB, free: 230.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005303/6.496, allocations: 281 kB / 2.741 GB, free: 230.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002385/6.499, allocations: 496.5 kB / 2.742 GB, free: 230.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002719/6.501, allocations: 1.332 MB / 2.743 GB, free: 229.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005077/6.502, allocations: 1.088 MB / 2.744 GB, free: 228.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001237/6.503, allocations: 263.2 kB / 2.744 GB, free: 228.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/6.503, allocations: 54.12 kB / 2.744 GB, free: 228.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.42e-07/6.503, allocations: 3.625 kB / 2.744 GB, free: 228.7 MB / 1.151 GB Notification: Performance of Templates: time 0.04561/6.549, allocations: 29.49 MB / 2.773 GB, free: 210.8 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches