Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001221/0.001221, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.301/1.301, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.825/2.825, allocations: 0.49 GB / 0.7951 GB, free: 33.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001833/0.001833, allocations: 71.02 kB / 1.154 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2699/0.2717, allocations: 176.1 MB / 1.326 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00355/0.2753, allocations: 2.429 MB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2774, allocations: 1.491 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.2775, allocations: 4 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0005465/0.2781, allocations: 202.9 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.2782, allocations: 83.28 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.2786, allocations: 131.7 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000402/0.279, allocations: 334.7 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.2791, allocations: 45.12 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.2793, allocations: 139.5 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002969/0.2796, allocations: 187.4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.559e-05/0.2797, allocations: 32 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001463/0.2798, allocations: 79.95 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.28, allocations: 123.6 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.2801, allocations: 175 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.2806, allocations: 0.4903 MB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.2806, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2806, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.2807, allocations: 0 / 1.332 GB, free: 12.02 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001239/0.2819, allocations: 0.6499 MB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.2819, allocations: 8.031 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.999e-05/0.282, allocations: 50.72 kB / 1.332 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.2831, allocations: 184.4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.2836, allocations: 312.6 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.2837, allocations: 191 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.731e-05/0.2838, allocations: 16.31 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007223/0.2845, allocations: 303.9 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.2845, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.2845, allocations: 4 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.2845, allocations: 4 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001042/0.2856, allocations: 416.4 kB / 1.334 GB, free: 9.809 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.2872, allocations: 0.8344 MB / 1.335 GB, free: 8.926 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006232/0.2879, allocations: 256.1 kB / 1.335 GB, free: 8.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.2884, allocations: 208.7 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.2884, allocations: 0 / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.2884, allocations: 34.56 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.2884, allocations: 4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001698/0.2901, allocations: 0.6535 MB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.2902, allocations: 55.34 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005455/0.2907, allocations: 429.6 kB / 1.336 GB, free: 7.258 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/0.2907, allocations: 25.7 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.2909, allocations: 180 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.634e-05/0.291, allocations: 59.48 kB / 1.336 GB, free: 6.988 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2911, allocations: 41.69 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2912, allocations: 346.8 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/0.2917, allocations: 195.9 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/0.2922, allocations: 233.1 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.2932, allocations: 374.2 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.2932, allocations: 0 / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001188/0.2944, allocations: 469.1 kB / 1.338 GB, free: 5.332 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.2944, allocations: 5.719 kB / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2944, allocations: 0 / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.2944, allocations: 0 / 1.338 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.2949, allocations: 71.86 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.2949, allocations: 0 / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.2952, allocations: 47.84 kB / 1.338 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.2952, allocations: 7.984 kB / 1.338 GB, free: 5.203 MB / 1.029 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.0001929/0.2954, allocations: 165.8 kB / 1.338 GB, free: 5.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.438e-05/0.2955, allocations: 35.77 kB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.115e-05/0.2956, allocations: 43.53 kB / 1.338 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.2956, allocations: 7.938 kB / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.2956, allocations: 0 / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.2956, allocations: 0 / 1.338 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005483/0.2961, allocations: 453.9 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2961, allocations: 0 / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004033/0.2965, allocations: 63.86 kB / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2965, allocations: 0 / 1.339 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.2966, allocations: 11.94 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.2966, allocations: 3.938 kB / 1.339 GB, free: 4.387 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.2966, allocations: 4 kB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001171/0.2977, allocations: 0.5536 MB / 1.339 GB, free: 3.812 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.2978, allocations: 43.77 kB / 1.339 GB, free: 3.77 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.622e-05/0.2979, allocations: 7.969 kB / 1.339 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.2982, allocations: 39.88 kB / 1.339 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.2983, allocations: 23.95 kB / 1.339 GB, free: 3.699 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.2983, allocations: 8 kB / 1.339 GB, free: 3.691 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003505/0.2987, allocations: 311.1 kB / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2987, allocations: 0 / 1.34 GB, free: 3.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003133/0.299, allocations: 64 kB / 1.34 GB, free: 3.324 MB / 1.029 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.001511/0.3005, allocations: 1.108 MB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.3016, allocations: 423.6 kB / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3016, allocations: 0 / 1.341 GB, free: 1.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005692/0.3022, allocations: 217.6 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.3026, allocations: 55.11 kB / 1.342 GB, free: 1.512 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006762/0.3093, allocations: 4.153 MB / 1.346 GB, free: 13.28 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3097, allocations: 0.7985 MB / 1.346 GB, free: 12.45 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002483/0.31, allocations: 54.27 kB / 1.346 GB, free: 12.4 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.3102, allocations: 107.4 kB / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of SimCode: time 4.91e-07/0.3102, allocations: 0 / 1.347 GB, free: 12.29 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03455/0.3448, allocations: 8.223 MB / 1.355 GB, free: 4.27 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.91, allocations: 7.922 kB / 1.355 GB, free: 4.262 MB / 1.045 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.710587479174137]