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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001204/0.001204, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009345/0.009345, allocations: 170.1 kB / 16.26 MB, free: 6.613 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.518/2.518, allocations: 462.6 MB / 0.7364 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 11.69 kB / 0.9029 GB, free: 36.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2613, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002825/0.2642, allocations: 2.085 MB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2662, allocations: 1.371 MB / 1.062 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.2663, allocations: 7.938 kB / 1.062 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.267, allocations: 195 kB / 1.062 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001608/0.2671, allocations: 63.47 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.2675, allocations: 103.8 kB / 1.062 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003708/0.2679, allocations: 322.7 kB / 1.063 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.268, allocations: 40.75 kB / 1.063 GB, free: 0.6953 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002074/0.2682, allocations: 119.5 kB / 1.063 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.2685, allocations: 175.3 kB / 1.063 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.2685, allocations: 20 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2687, allocations: 59.94 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2688, allocations: 103.7 kB / 1.063 GB, free: 232 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001736/0.269, allocations: 192.7 kB / 1.063 GB, free: 32 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000541/0.2695, allocations: 470.6 kB / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2696, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2696, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.748e-06/0.2696, allocations: 0 / 1.064 GB, free: 15.57 MB / 0.8262 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.001183/0.2708, allocations: 0.6553 MB / 1.065 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.2708, allocations: 15.97 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.183e-05/0.2709, allocations: 50.73 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009757/0.2719, allocations: 172.3 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.2723, allocations: 354.2 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001122/0.2725, allocations: 92.17 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.2725, allocations: 12.38 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.2733, allocations: 323.9 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.2733, allocations: 3.938 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.007e-05/0.2734, allocations: 0 / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.2734, allocations: 4 kB / 1.066 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001353/0.2747, allocations: 468.4 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.2765, allocations: 0.8746 MB / 1.067 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007532/0.2772, allocations: 290.4 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006127/0.2779, allocations: 236.7 kB / 1.067 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.2779, allocations: 4 kB / 1.067 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.332e-05/0.2779, allocations: 38.5 kB / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.352e-06/0.2779, allocations: 0 / 1.067 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.00205/0.28, allocations: 0.7173 MB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.2801, allocations: 59.34 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005512/0.2806, allocations: 417.7 kB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.2807, allocations: 33.69 kB / 1.069 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.2808, allocations: 180 kB / 1.069 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.2809, allocations: 63.09 kB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.2809, allocations: 21.7 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2811, allocations: 350.8 kB / 1.069 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006084/0.2817, allocations: 219.8 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000615/0.2823, allocations: 251.2 kB / 1.07 GB, free: 9.492 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2835, allocations: 414.4 kB / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2835, allocations: 0 / 1.07 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001338/0.2849, allocations: 0.4991 MB / 1.071 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.2849, allocations: 4 kB / 1.071 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.2849, allocations: 0 / 1.071 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2849, allocations: 0 / 1.071 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004904/0.2854, allocations: 83.8 kB / 1.071 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2854, allocations: 0 / 1.071 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.2858, allocations: 51.84 kB / 1.071 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.718e-05/0.2858, allocations: 8 kB / 1.071 GB, free: 8.438 MB / 0.8262 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.0002058/0.286, allocations: 169.8 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.435e-05/0.2861, allocations: 35.53 kB / 1.071 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.189e-05/0.2862, allocations: 39.59 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2862, allocations: 7.938 kB / 1.071 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2862, allocations: 0 / 1.071 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2862, allocations: 3.984 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005236/0.2868, allocations: 466.9 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2868, allocations: 3.938 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.2873, allocations: 75.86 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.2873, allocations: 0 / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.2873, allocations: 8 kB / 1.071 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.2873, allocations: 3.938 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.2873, allocations: 7.984 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/0.2887, allocations: 0.5964 MB / 1.072 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.49e-05/0.2888, allocations: 120.6 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.2889, allocations: 4 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003828/0.2893, allocations: 43.89 kB / 1.072 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.2894, allocations: 19.97 kB / 1.072 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.2894, allocations: 15.98 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003182/0.2897, allocations: 307.1 kB / 1.073 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2897, allocations: 0 / 1.073 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003289/0.2901, allocations: 60 kB / 1.073 GB, free: 6.383 MB / 0.8262 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.001677/0.2918, allocations: 1.143 MB / 1.074 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001264/0.293, allocations: 473.2 kB / 1.074 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.293, allocations: 4 kB / 1.074 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006328/0.2937, allocations: 255.7 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.2941, allocations: 53.45 kB / 1.074 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007372/0.3015, allocations: 4.386 MB / 1.079 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.3019, allocations: 0.7833 MB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002771/0.3022, allocations: 62.27 kB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002362/0.3024, allocations: 107.4 kB / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of SimCode: time 1.903e-06/0.3024, allocations: 0 / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.3261, allocations: 7.347 MB / 1.087 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.3263, allocations: 237.2 kB / 1.087 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.15, allocations: 1.875 kB / 1.087 GB, free: 7.625 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 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.mat","/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