Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_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.007443/0.007443, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001737/0.001738, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.353/2.353, allocations: 437 MB / 0.7105 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002368/0.002368, allocations: 64.12 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.761/0.7634, allocations: 151.6 MB / 1.166 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003573/0.767, allocations: 2.387 MB / 1.168 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002081/0.7691, allocations: 1.403 MB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000186/0.7693, allocations: 0 / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.77, allocations: 202.8 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.7702, allocations: 71.36 kB / 1.17 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.7706, allocations: 123.7 kB / 1.17 GB, free: 15.6 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.771, allocations: 330.8 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.7711, allocations: 56.66 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002321/0.7714, allocations: 131.5 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002747/0.7716, allocations: 175.4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.988e-05/0.7717, allocations: 35.98 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001578/0.7719, allocations: 71.97 kB / 1.171 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.772, allocations: 115.6 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.7722, allocations: 179 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.7728, allocations: 493.9 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.7728, allocations: 4 kB / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7728, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.7728, allocations: 0 / 1.172 GB, free: 14.04 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.00139/0.7742, allocations: 0.7196 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.7743, allocations: 12.92 kB / 1.172 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.196e-05/0.7743, allocations: 50.73 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/0.7753, allocations: 148.5 kB / 1.173 GB, free: 13.05 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.7757, allocations: 358.5 kB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.7759, allocations: 84.19 kB / 1.173 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.784e-05/0.7759, allocations: 12.38 kB / 1.173 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.7767, allocations: 303.2 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-06/0.7767, allocations: 0 / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.7768, allocations: 0 / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.7768, allocations: 7.938 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/0.7779, allocations: 420.4 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001693/0.7796, allocations: 0.8664 MB / 1.175 GB, free: 10.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000687/0.7803, allocations: 266.4 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.7809, allocations: 216.7 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.781, allocations: 7.984 kB / 1.175 GB, free: 10.43 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.781, allocations: 30.56 kB / 1.175 GB, free: 10.39 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.781, allocations: 4 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18): time 0.001884/0.7829, allocations: 0.6535 MB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.7829, allocations: 59.33 kB / 1.176 GB, free: 9.652 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.7834, allocations: 421.7 kB / 1.176 GB, free: 9.23 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.923e-05/0.7834, allocations: 29.7 kB / 1.176 GB, free: 9.195 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001354/0.7836, allocations: 184 kB / 1.176 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.7836, allocations: 59.48 kB / 1.176 GB, free: 8.953 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.7838, allocations: 41.69 kB / 1.177 GB, free: 8.906 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7839, allocations: 350.8 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.7845, allocations: 191.9 kB / 1.177 GB, free: 8.367 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005876/0.7851, allocations: 233.6 kB / 1.177 GB, free: 8.129 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001067/0.7861, allocations: 368.5 kB / 1.178 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7862, allocations: 0 / 1.178 GB, free: 7.766 MB / 0.9044 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001224/0.7874, allocations: 463.6 kB / 1.178 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.7874, allocations: 8 kB / 1.178 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7874, allocations: 0 / 1.178 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.7874, allocations: 0 / 1.178 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.7879, allocations: 71.86 kB / 1.178 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.788, allocations: 0 / 1.178 GB, free: 7.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.7883, allocations: 39.89 kB / 1.178 GB, free: 7.191 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.7884, allocations: 15.97 kB / 1.178 GB, free: 7.176 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001917/0.7886, allocations: 165.8 kB / 1.178 GB, free: 7.004 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/0.7886, allocations: 35.77 kB / 1.178 GB, free: 6.969 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.7887, allocations: 43.59 kB / 1.178 GB, free: 6.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.7887, allocations: 3.938 kB / 1.178 GB, free: 6.926 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.7887, allocations: 7.938 kB / 1.178 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.7887, allocations: 0 / 1.178 GB, free: 6.918 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.7893, allocations: 478.8 kB / 1.179 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.7893, allocations: 0 / 1.179 GB, free: 6.402 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004559/0.7897, allocations: 63.92 kB / 1.179 GB, free: 6.34 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.7898, allocations: 7.938 kB / 1.179 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.7898, allocations: 0 / 1.179 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7898, allocations: 7.938 kB / 1.179 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.264e-05/0.7898, allocations: 4 kB / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.7911, allocations: 0.5498 MB / 1.18 GB, free: 5.754 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.7912, allocations: 116.8 kB / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.7913, allocations: 4 kB / 1.18 GB, free: 5.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.7916, allocations: 35.88 kB / 1.18 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.822e-05/0.7918, allocations: 27.97 kB / 1.18 GB, free: 5.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.41e-05/0.7918, allocations: 4 kB / 1.18 GB, free: 5.551 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0003233/0.7921, allocations: 311.1 kB / 1.18 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7921, allocations: 4 kB / 1.18 GB, free: 5.25 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003418/0.7925, allocations: 63.95 kB / 1.18 GB, free: 5.188 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.001591/0.7941, allocations: 1.101 MB / 1.181 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.7953, allocations: 439.5 kB / 1.182 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7953, allocations: 0 / 1.182 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/0.7959, allocations: 223.8 kB / 1.182 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004416/0.7964, allocations: 58.14 kB / 1.182 GB, free: 3.352 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006954/0.8033, allocations: 4.134 MB / 1.186 GB, free: 15.13 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.8037, allocations: 0.7909 MB / 1.187 GB, free: 14.32 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.804, allocations: 58.25 kB / 1.187 GB, free: 14.26 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.8043, allocations: 107.4 kB / 1.187 GB, free: 14.15 MB / 0.92 GB Notification: Performance of SimCode: time 5.61e-07/0.8043, allocations: 4 kB / 1.187 GB, free: 14.15 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.83, allocations: 7.921 MB / 1.195 GB, free: 6.43 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.073/8.903, allocations: 19.64 kB / 1.195 GB, free: 6.414 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_10_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches