Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_latest_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.007665/0.007665, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.002068/0.002068, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.403/1.403, 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 12.0.0-master/package.mo): time 2.796/2.796, allocations: 482.4 MB / 0.7548 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 60.55 kB / 1.083 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2785/0.2805, allocations: 162.2 MB / 1.241 GB, free: 9.277 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00369/0.2842, allocations: 2.373 MB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002154/0.2864, allocations: 1.402 MB / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.2866, allocations: 0 / 1.245 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.2872, allocations: 214.7 kB / 1.245 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2874, allocations: 67.36 kB / 1.245 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.2877, allocations: 127.6 kB / 1.246 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.2882, allocations: 326.8 kB / 1.246 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.2883, allocations: 48.72 kB / 1.246 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/0.2885, allocations: 131.5 kB / 1.246 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.2889, allocations: 187.3 kB / 1.246 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.502e-05/0.2889, allocations: 32 kB / 1.246 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.2891, allocations: 71.95 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.2893, allocations: 115.7 kB / 1.246 GB, free: 4.184 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2895, allocations: 179 kB / 1.247 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005816/0.29, allocations: 494.4 kB / 1.247 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2901, allocations: 4 kB / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2901, allocations: 0 / 1.247 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.274e-05/0.2901, allocations: 0 / 1.247 GB, free: 3.52 MB / 0.9669 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.001366/0.2915, allocations: 0.7197 MB / 1.248 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2915, allocations: 8.031 kB / 1.248 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.949e-05/0.2916, allocations: 54.67 kB / 1.248 GB, free: 2.68 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009116/0.2925, allocations: 148.5 kB / 1.248 GB, free: 2.535 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004766/0.293, allocations: 354.6 kB / 1.248 GB, free: 2.152 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.2931, allocations: 84.19 kB / 1.248 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.2932, allocations: 12.38 kB / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/0.294, allocations: 304.3 kB / 1.249 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.294, allocations: 4 kB / 1.249 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.2941, allocations: 4 kB / 1.249 GB, free: 1.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2941, allocations: 4 kB / 1.249 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001237/0.2953, allocations: 416.4 kB / 1.249 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.297, allocations: 0.8666 MB / 1.25 GB, free: 420 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007558/0.2978, allocations: 270.3 kB / 1.25 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006288/0.2984, allocations: 216.7 kB / 1.25 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.235e-05/0.2985, allocations: 4 kB / 1.25 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.2985, allocations: 38.55 kB / 1.25 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.914e-06/0.2985, allocations: 4 kB / 1.25 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18): time 0.001973/0.3005, allocations: 0.651 MB / 1.251 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.122e-05/0.3006, allocations: 55.34 kB / 1.251 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.3011, allocations: 425.6 kB / 1.252 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.3011, allocations: 29.7 kB / 1.252 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.3013, allocations: 180 kB / 1.252 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.856e-05/0.3013, allocations: 59.48 kB / 1.252 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.3015, allocations: 37.7 kB / 1.252 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.3016, allocations: 354.8 kB / 1.252 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.3023, allocations: 199.7 kB / 1.252 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/0.3029, allocations: 237.3 kB / 1.253 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/0.304, allocations: 366.4 kB / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.304, allocations: 0 / 1.253 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001307/0.3054, allocations: 469.1 kB / 1.253 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3054, allocations: 8 kB / 1.253 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3054, allocations: 0 / 1.253 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3054, allocations: 0 / 1.253 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.3059, allocations: 71.8 kB / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.306, allocations: 0 / 1.253 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003674/0.3063, allocations: 43.84 kB / 1.253 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.497e-05/0.3064, allocations: 7.984 kB / 1.253 GB, free: 12.65 MB / 0.9825 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.0002166/0.3066, allocations: 161.8 kB / 1.254 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.503e-05/0.3067, allocations: 39.75 kB / 1.254 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.045e-05/0.3068, allocations: 43.59 kB / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.3068, allocations: 3.938 kB / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3068, allocations: 0 / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3068, allocations: 0 / 1.254 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.3074, allocations: 478.9 kB / 1.254 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.3074, allocations: 4 kB / 1.254 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004532/0.3079, allocations: 59.86 kB / 1.254 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.3079, allocations: 4 kB / 1.254 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.3079, allocations: 4 kB / 1.254 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3079, allocations: 7.938 kB / 1.254 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3079, allocations: 0 / 1.254 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.3093, allocations: 0.5517 MB / 1.255 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.3094, allocations: 124.8 kB / 1.255 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.3095, allocations: 4 kB / 1.255 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.3099, allocations: 39.88 kB / 1.255 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.31, allocations: 19.97 kB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.31, allocations: 11.94 kB / 1.255 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003641/0.3104, allocations: 311.1 kB / 1.255 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3104, allocations: 0 / 1.255 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003455/0.3108, allocations: 67.95 kB / 1.255 GB, free: 10.66 MB / 0.9825 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.001685/0.3124, allocations: 1.102 MB / 1.256 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001279/0.3137, allocations: 433.5 kB / 1.257 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3137, allocations: 0 / 1.257 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006405/0.3144, allocations: 231.8 kB / 1.257 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3148, allocations: 57.36 kB / 1.257 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00718/0.322, allocations: 4.132 MB / 1.261 GB, free: 4.609 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3225, allocations: 0.7909 MB / 1.262 GB, free: 3.793 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002764/0.3227, allocations: 58.3 kB / 1.262 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002518/0.323, allocations: 107.4 kB / 1.262 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of SimCode: time 5.91e-07/0.323, allocations: 0 / 1.262 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03093/0.3539, allocations: 7.93 MB / 1.27 GB, free: 11.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.492, allocations: 10.88 kB / 1.27 GB, free: 11.89 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv --start-time 0 --stop-time 2600 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches