Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008104/0.008104, allocations: 98.64 kB / 15.73 MB, free: 5.602 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.002144/0.002144, allocations: 195.8 kB / 16.68 MB, free: 5.523 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.688/2.688, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 64.11 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6939, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06693/0.7609, allocations: 62.66 MB / 1.281 GB, free: 3.164 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01917/0.7801, allocations: 13.65 MB / 1.295 GB, free: 5.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001953/0.7821, allocations: 63.69 kB / 1.295 GB, free: 5.418 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002512/0.7846, allocations: 0.9472 MB / 1.296 GB, free: 4.465 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006039/0.7907, allocations: 2.422 MB / 1.298 GB, free: 2.031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003935/0.7946, allocations: 1.61 MB / 1.3 GB, free: 448 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.005905/0.8006, allocations: 4.294 MB / 1.304 GB, free: 12.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002375/0.8029, allocations: 1.429 MB / 1.305 GB, free: 10.66 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003881/0.8068, allocations: 1.639 MB / 1.307 GB, free: 9.02 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002324/0.8092, allocations: 1.295 MB / 1.308 GB, free: 7.719 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000518/0.8097, allocations: 176 kB / 1.308 GB, free: 7.547 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003454/0.8132, allocations: 1.431 MB / 1.31 GB, free: 6.113 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0007584/0.8139, allocations: 0.5023 MB / 1.31 GB, free: 5.609 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.8157, allocations: 1.015 MB / 1.311 GB, free: 4.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00549/0.8212, allocations: 3.184 MB / 1.314 GB, free: 1.398 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.8212, allocations: 0 / 1.314 GB, free: 1.398 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8212, allocations: 0 / 1.314 GB, free: 1.398 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.461e-05/0.8213, allocations: 3.938 kB / 1.314 GB, free: 1.395 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.005496/0.8268, allocations: 2.405 MB / 1.317 GB, free: 14.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.8268, allocations: 8.031 kB / 1.317 GB, free: 14.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003164/0.8271, allocations: 168.8 kB / 1.317 GB, free: 14.74 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003266/0.8304, allocations: 0.5382 MB / 1.317 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.8333, allocations: 1.503 MB / 1.319 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/0.8335, allocations: 157.5 kB / 1.319 GB, free: 12.48 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.8338, allocations: 108 kB / 1.319 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003778/0.8376, allocations: 1.566 MB / 1.32 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.8376, allocations: 0 / 1.32 GB, free: 10.72 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.8378, allocations: 55.98 kB / 1.321 GB, free: 10.66 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.8378, allocations: 31.94 kB / 1.321 GB, free: 10.63 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004593/0.8424, allocations: 1.557 MB / 1.322 GB, free: 9.074 MB / 1.045 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.01032/0.8527, allocations: 6.926 MB / 1.329 GB, free: 1.707 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002979/0.8557, allocations: 1.279 MB / 1.33 GB, free: 352 kB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.8577, allocations: 0.663 MB / 1.331 GB, free: 15.67 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000987/0.8588, allocations: 1.156 MB / 1.332 GB, free: 14.26 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/0.8588, allocations: 43.88 kB / 1.332 GB, free: 14.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=77): time 2.545e-06/0.8588, allocations: 0 / 1.332 GB, free: 14.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=77): time 0.006264/0.8651, allocations: 1.91 MB / 1.334 GB, free: 12.29 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.679e-05/0.8652, allocations: 115.5 kB / 1.334 GB, free: 12.15 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.8675, allocations: 1.401 MB / 1.335 GB, free: 10.74 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.8677, allocations: 41.7 kB / 1.335 GB, free: 10.7 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006915/0.8684, allocations: 0.7253 MB / 1.336 GB, free: 9.961 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.8687, allocations: 285.6 kB / 1.336 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003725/0.869, allocations: 178.5 kB / 1.336 GB, free: 9.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8692, allocations: 341.9 kB / 1.337 GB, free: 9.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001918/0.8711, allocations: 0.5981 MB / 1.337 GB, free: 8.559 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.8733, allocations: 0.8283 MB / 1.338 GB, free: 7.637 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003842/0.8771, allocations: 1.328 MB / 1.339 GB, free: 6.25 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.8771, allocations: 0 / 1.339 GB, free: 6.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00463/0.8818, allocations: 1.554 MB / 1.341 GB, free: 4.688 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.755e-05/0.8818, allocations: 10.58 kB / 1.341 GB, free: 4.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8818, allocations: 8 kB / 1.341 GB, free: 4.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.8819, allocations: 12 kB / 1.341 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.8834, allocations: 307.5 kB / 1.341 GB, free: 4.359 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.171e-05/0.8835, allocations: 15.94 kB / 1.341 GB, free: 4.344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.885, allocations: 191.2 kB / 1.342 GB, free: 4.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.8851, allocations: 35.98 kB / 1.342 GB, free: 4.121 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002452/0.8876, allocations: 0.9039 MB / 1.342 GB, free: 3.215 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002147/0.8897, allocations: 0.8323 MB / 1.343 GB, free: 2.289 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003921/0.8937, allocations: 1.316 MB / 1.345 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.998e-06/0.8937, allocations: 0 / 1.345 GB, free: 0.9062 MB / 1.061 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004726/0.8984, allocations: 1.558 MB / 1.346 GB, free: 15.34 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8985, allocations: 4 kB / 1.346 GB, free: 15.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8985, allocations: 8 kB / 1.346 GB, free: 15.33 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.8985, allocations: 8 kB / 1.346 GB, free: 15.32 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.9001, allocations: 304 kB / 1.346 GB, free: 15.03 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/0.9001, allocations: 19.92 kB / 1.346 GB, free: 15.01 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001589/0.9017, allocations: 179.3 kB / 1.347 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.9018, allocations: 39.98 kB / 1.347 GB, free: 14.79 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003415/0.9022, allocations: 241.1 kB / 1.347 GB, free: 14.55 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.9026, allocations: 155 kB / 1.347 GB, free: 14.4 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004841/0.9075, allocations: 1.696 MB / 1.349 GB, free: 12.67 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.9075, allocations: 8 kB / 1.349 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.9075, allocations: 7.938 kB / 1.349 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003868/0.9114, allocations: 1.308 MB / 1.35 GB, free: 11.32 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008077/0.9195, allocations: 3.389 MB / 1.353 GB, free: 7.816 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.9195, allocations: 7.984 kB / 1.353 GB, free: 7.809 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/0.9209, allocations: 231.9 kB / 1.353 GB, free: 7.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.41e-05/0.9209, allocations: 8 kB / 1.353 GB, free: 7.574 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.514e-05/0.921, allocations: 19.98 kB / 1.353 GB, free: 7.555 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.517e-05/0.921, allocations: 11.94 kB / 1.353 GB, free: 7.543 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.134e-06/0.921, allocations: 11.88 kB / 1.354 GB, free: 7.531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006544/0.9276, allocations: 2.416 MB / 1.356 GB, free: 5.039 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008604/0.9284, allocations: 403.6 kB / 1.356 GB, free: 4.625 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003695/0.9288, allocations: 20 kB / 1.356 GB, free: 4.605 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001633/0.9305, allocations: 143.8 kB / 1.356 GB, free: 4.465 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.9307, allocations: 80.34 kB / 1.356 GB, free: 4.383 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/0.9308, allocations: 47.91 kB / 1.357 GB, free: 4.336 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001859/0.9327, allocations: 1.076 MB / 1.358 GB, free: 3.266 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9327, allocations: 4 kB / 1.358 GB, free: 3.262 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002331/0.935, allocations: 0.8188 MB / 1.358 GB, free: 2.441 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007866/0.9429, allocations: 3.332 MB / 1.362 GB, free: 15.04 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006522/0.9494, allocations: 2.13 MB / 1.364 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/0.9495, allocations: 4 kB / 1.364 GB, free: 12.9 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.002336/0.9518, allocations: 0.7458 MB / 1.364 GB, free: 12.15 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004418/0.9563, allocations: 0.8189 MB / 1.365 GB, free: 11.35 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02686/0.9831, allocations: 13.23 MB / 1.378 GB, free: 13.68 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001129/0.9843, allocations: 1.284 MB / 1.379 GB, free: 12.37 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001856/0.9862, allocations: 427.1 kB / 1.38 GB, free: 11.95 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.9873, allocations: 0.6203 MB / 1.38 GB, free: 11.32 MB / 1.107 GB Notification: Performance of SimCode: time 4.438e-06/0.9873, allocations: 0 / 1.38 GB, free: 11.32 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09279/1.08, allocations: 47.57 MB / 1.427 GB, free: 12.28 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/11.77, allocations: 3.938 kB / 1.427 GB, free: 12.27 MB / 1.154 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.csv --start-time 0 --stop-time 14400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 5.76 Buildings_11_Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.fmu > Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches