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.001467/0.001467, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001761/0.001761, allocations: 214 kB / 22.25 MB, free: 4.855 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.563/1.563, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 3.405/3.405, allocations: 0.4892 GB / 0.7943 GB, free: 35.46 MB / 0.6231 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [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.002168/0.002168, allocations: 71.98 kB / 1.154 GB, free: 25.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3643, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004294/0.3686, allocations: 2.292 MB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002864/0.3715, allocations: 1.339 MB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001762/0.3716, allocations: 7.938 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000732/0.3724, allocations: 179 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.3725, allocations: 75.34 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004695/0.373, allocations: 143.6 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004564/0.3735, allocations: 334.7 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3736, allocations: 32.86 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002988/0.3739, allocations: 143.5 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.3742, allocations: 171.4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.3743, allocations: 28 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001711/0.3745, allocations: 79.91 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.3746, allocations: 119.7 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.3748, allocations: 147.2 kB / 1.33 GB, free: 12.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.3754, allocations: 0.4981 MB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.3754, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.933e-06/0.3754, allocations: 0 / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.3754, allocations: 0 / 1.331 GB, free: 12.25 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.00139/0.3768, allocations: 0.6444 MB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/0.3768, allocations: 12.03 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.3781, allocations: 184.4 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006183/0.3787, allocations: 300.7 kB / 1.332 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002085/0.3789, allocations: 199 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.15e-05/0.379, allocations: 16.38 kB / 1.332 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.3798, allocations: 292.1 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3798, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.3798, allocations: 4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.3798, allocations: 4 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.381, allocations: 424.3 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.3827, allocations: 0.7219 MB / 1.334 GB, free: 9.359 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007077/0.3834, allocations: 262.3 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.384, allocations: 200.7 kB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.384, allocations: 7.984 kB / 1.334 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.384, allocations: 30.56 kB / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.384, allocations: 0 / 1.334 GB, free: 8.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001879/0.3859, allocations: 0.6513 MB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.386, allocations: 63.34 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.3865, allocations: 413.6 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.3865, allocations: 33.69 kB / 1.335 GB, free: 7.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3867, allocations: 172.5 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.3868, allocations: 63.47 kB / 1.335 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.3869, allocations: 45.69 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3871, allocations: 346.8 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005577/0.3876, allocations: 191.9 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/0.3883, allocations: 312.4 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001089/0.3894, allocations: 374.4 kB / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3894, allocations: 0 / 1.337 GB, free: 6.137 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001276/0.3907, allocations: 466.2 kB / 1.337 GB, free: 5.676 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3907, allocations: 11.94 kB / 1.337 GB, free: 5.664 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3907, allocations: 3.984 kB / 1.337 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.3907, allocations: 4 kB / 1.337 GB, free: 5.656 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.3912, allocations: 55.92 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.3912, allocations: 4 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003479/0.3915, allocations: 47.77 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.917e-05/0.3916, allocations: 4 kB / 1.337 GB, free: 5.547 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.0002276/0.3918, allocations: 174.3 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.142e-05/0.3919, allocations: 39.7 kB / 1.337 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.392, allocations: 39.45 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.392, allocations: 4 kB / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.392, allocations: 0 / 1.338 GB, free: 5.289 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.353e-06/0.392, allocations: 7.922 kB / 1.338 GB, free: 5.281 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/0.3925, allocations: 338.8 kB / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3925, allocations: 0 / 1.338 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/0.3929, allocations: 63.92 kB / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.393, allocations: 0 / 1.338 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.848e-05/0.393, allocations: 8 kB / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.393, allocations: 0 / 1.338 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.393, allocations: 3.938 kB / 1.338 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3943, allocations: 0.5557 MB / 1.338 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.3944, allocations: 47.75 kB / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.371e-05/0.3944, allocations: 0 / 1.339 GB, free: 4.227 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.3948, allocations: 31.95 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.3949, allocations: 23.95 kB / 1.339 GB, free: 4.172 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.3949, allocations: 11.98 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003695/0.3953, allocations: 311 kB / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3953, allocations: 0 / 1.339 GB, free: 3.859 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003452/0.3956, allocations: 67.95 kB / 1.339 GB, free: 3.793 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.0001647/0.3958, allocations: 107.1 kB / 1.339 GB, free: 3.676 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00126/0.3971, allocations: 423.7 kB / 1.339 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.3971, allocations: 0 / 1.339 GB, free: 3.262 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000604/0.3977, allocations: 219.8 kB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.3981, allocations: 51.14 kB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/0.3997, allocations: 0.6721 MB / 1.34 GB, free: 2.301 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.3999, allocations: 187.5 kB / 1.341 GB, free: 2.098 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002821/0.4002, allocations: 58.25 kB / 1.341 GB, free: 2.043 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001588/0.4003, allocations: 35.42 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of SimCode: time 8.92e-07/0.4003, allocations: 0 / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of Templates: time 0.01006/0.4104, allocations: 4.842 MB / 1.345 GB, free: 13.23 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.51574769616127]