Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.34/2.34, allocations: 390.5 MB / 398 MB, free: 10.91 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.001342/0.001342, allocations: 172.9 kB / 491.2 MB, free: 1.551 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 221.5 MB / 0.7868 GB, free: 13.34 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.0008298/0.0008299, allocations: 101.9 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.101e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2334, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.01/1.243, allocations: 430.5 MB / 1.633 GB, free: 352 kB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/1.243, allocations: 92.91 kB / 1.633 GB, free: 304 kB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.228/4.471, allocations: 0.9535 GB / 2.586 GB, free: 39.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.904e-06/4.471, allocations: 0 / 2.586 GB, free: 39.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0005247/4.472, allocations: 79.86 kB / 2.586 GB, free: 38.95 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: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.0119/4.484, allocations: 2.958 MB / 2.589 GB, free: 35.93 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/4.484, allocations: 8.031 kB / 2.589 GB, free: 35.93 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004615/4.488, allocations: 0.5932 MB / 2.59 GB, free: 35.33 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/4.5, allocations: 2.992 MB / 2.593 GB, free: 32.27 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006202/4.501, allocations: 230.6 kB / 2.593 GB, free: 32.02 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/4.502, allocations: 119.9 kB / 2.593 GB, free: 31.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005254/4.507, allocations: 1.792 MB / 2.595 GB, free: 30.11 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005144/4.512, allocations: 2.114 MB / 2.597 GB, free: 27.86 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.458e-05/4.512, allocations: 3.938 kB / 2.597 GB, free: 27.85 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003073/4.513, allocations: 15.98 kB / 2.597 GB, free: 27.84 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/4.513, allocations: 91.47 kB / 2.597 GB, free: 27.75 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.01706/4.53, allocations: 11.04 MB / 2.608 GB, free: 16.21 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/4.531, allocations: 1.204 MB / 2.609 GB, free: 14.96 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007873/4.532, allocations: 0.6457 MB / 2.61 GB, free: 14.32 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008933/4.533, allocations: 1.331 MB / 2.611 GB, free: 12.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00132/4.534, allocations: 0.9551 MB / 2.612 GB, free: 11.65 MB / 1.151 GB Notification: Performance of pre-optimization done (n=107): time 3.246e-06/4.534, allocations: 0 / 2.612 GB, free: 11.65 MB / 1.151 GB Notification: Performance of matching and sorting (n=107): time 0.003318/4.538, allocations: 1.442 MB / 2.613 GB, free: 10.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/4.538, allocations: 0.7811 MB / 2.614 GB, free: 9.23 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/4.541, allocations: 2.001 MB / 2.616 GB, free: 7.219 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002987/4.541, allocations: 29.7 kB / 2.616 GB, free: 7.184 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001297/4.543, allocations: 1.357 MB / 2.617 GB, free: 5.801 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/4.543, allocations: 366.7 kB / 2.618 GB, free: 5.438 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/4.543, allocations: 0 / 2.618 GB, free: 5.438 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001074/4.543, allocations: 365.9 kB / 2.618 GB, free: 5.074 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/4.544, allocations: 0.6014 MB / 2.619 GB, free: 4.473 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/4.546, allocations: 1.167 MB / 2.62 GB, free: 3.07 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/4.547, allocations: 0.7422 MB / 2.621 GB, free: 2.328 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/4.547, allocations: 4 kB / 2.621 GB, free: 2.324 MB / 1.151 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00377/4.551, allocations: 1.819 MB / 2.622 GB, free: 0.4961 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.002132/4.553, allocations: 4.254 MB / 2.626 GB, free: 11.87 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-05/4.553, allocations: 12 kB / 2.627 GB, free: 11.86 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.457e-05/4.553, allocations: 16 kB / 2.627 GB, free: 11.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/4.555, allocations: 399.4 kB / 2.627 GB, free: 11.45 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.675e-05/4.555, allocations: 23.92 kB / 2.627 GB, free: 11.43 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/4.559, allocations: 254.3 kB / 2.627 GB, free: 11.18 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/4.559, allocations: 71.97 kB / 2.627 GB, free: 11.11 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/4.559, allocations: 4 kB / 2.627 GB, free: 11.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00334/4.562, allocations: 1.542 MB / 2.629 GB, free: 9.559 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/4.562, allocations: 8 kB / 2.629 GB, free: 9.551 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/4.562, allocations: 23.95 kB / 2.629 GB, free: 9.527 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/4.564, allocations: 396 kB / 2.629 GB, free: 9.141 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/4.564, allocations: 31.86 kB / 2.629 GB, free: 9.109 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/4.567, allocations: 214.7 kB / 2.629 GB, free: 8.898 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/4.567, allocations: 75.91 kB / 2.629 GB, free: 8.824 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005469/4.568, allocations: 154 kB / 2.63 GB, free: 8.668 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003894/4.572, allocations: 1.446 MB / 2.631 GB, free: 7.215 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006577/4.572, allocations: 256.9 kB / 2.631 GB, free: 6.961 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003682/4.576, allocations: 1.648 MB / 2.633 GB, free: 5.285 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/4.576, allocations: 12 kB / 2.633 GB, free: 5.273 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/4.576, allocations: 4 kB / 2.633 GB, free: 5.27 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002161/4.578, allocations: 1.281 MB / 2.634 GB, free: 3.938 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.032/5.611, allocations: 5.142 MB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/5.611, allocations: 7.906 kB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/5.612, allocations: 259.8 kB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.7e-05/5.612, allocations: 11.75 kB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001195/5.613, allocations: 21.2 kB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.562e-05/5.613, allocations: 13.78 kB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/5.613, allocations: 6.203 kB / 2.639 GB, free: 177.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005505/5.618, allocations: 2.911 MB / 2.642 GB, free: 176.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002115/5.62, allocations: 0.6088 MB / 2.643 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000477/5.621, allocations: 9.375 kB / 2.643 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/5.623, allocations: 136.8 kB / 2.643 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002965/5.623, allocations: 110.7 kB / 2.643 GB, free: 176.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/5.623, allocations: 52.64 kB / 2.643 GB, free: 176.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003409/5.627, allocations: 1.548 MB / 2.645 GB, free: 176.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.11e-07/5.627, allocations: 0.8125 kB / 2.645 GB, free: 176.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0071/5.634, allocations: 1.503 MB / 2.646 GB, free: 176.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008558/5.642, allocations: 5.786 MB / 2.652 GB, free: 173.5 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005604/5.648, allocations: 2.519 MB / 2.654 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/5.648, allocations: 4.797 kB / 2.654 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/5.65, allocations: 0.7323 MB / 2.655 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008149/5.658, allocations: 1.04 MB / 2.656 GB, free: 173.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01705/5.675, allocations: 4.201 MB / 2.66 GB, free: 172.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002117/5.677, allocations: 1.817 MB / 2.662 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.005581/5.683, allocations: 0.9011 MB / 2.663 GB, free: 171.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/5.685, allocations: 1.064 MB / 2.664 GB, free: 171.4 MB / 1.167 GB Notification: Performance of SimCode: time 2.354e-06/5.685, allocations: 3 kB / 2.664 GB, free: 171.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1705/5.855, allocations: 72.59 MB / 2.735 GB, free: 169.1 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002624/5.855, allocations: 203.5 kB / 2.735 GB, free: 168.8 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.304/11.16, allocations: 0.5625 kB / 2.735 GB, free: 168.8 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor_res.mat does not exist to compare? outputFormat=mat