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.001612/0.001612, allocations: 114.9 kB / 17.13 MB, free: 5.926 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.00175/0.00175, allocations: 206.5 kB / 20.09 MB, free: 2.977 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.437/1.437, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.853/2.853, allocations: 0.49 GB / 0.7923 GB, free: 1.312 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.00203/0.00203, allocations: 71.88 kB / 1.15 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 176.1 MB / 1.322 GB, free: 24.97 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002959/1.019, allocations: 2.414 MB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001657/1.02, allocations: 1.476 MB / 1.326 GB, free: 22.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/1.021, allocations: 6.531 kB / 1.326 GB, free: 22.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005928/1.021, allocations: 206.5 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001361/1.021, allocations: 70.27 kB / 1.326 GB, free: 22.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/1.022, allocations: 140.6 kB / 1.326 GB, free: 22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003557/1.022, allocations: 334.8 kB / 1.326 GB, free: 21.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/1.022, allocations: 30.81 kB / 1.326 GB, free: 21.82 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/1.022, allocations: 144.1 kB / 1.327 GB, free: 21.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/1.023, allocations: 185.1 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.765e-05/1.023, allocations: 32.56 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/1.023, allocations: 71.66 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001232/1.023, allocations: 122 kB / 1.327 GB, free: 21.61 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001548/1.023, allocations: 174.7 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005348/1.024, allocations: 0.5019 MB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/1.024, allocations: 4.75 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/1.024, allocations: 0 / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.184e-05/1.024, allocations: 0.7812 kB / 1.328 GB, free: 21.3 MB / 1.061 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.001222/1.025, allocations: 0.7222 MB / 1.328 GB, free: 20.74 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/1.025, allocations: 14.2 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001157/1.026, allocations: 181.2 kB / 1.329 GB, free: 20.7 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/1.026, allocations: 363.2 kB / 1.329 GB, free: 20.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/1.027, allocations: 86.06 kB / 1.329 GB, free: 20.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/1.027, allocations: 16.75 kB / 1.329 GB, free: 20.33 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007715/1.027, allocations: 306.2 kB / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.027, allocations: 0 / 1.329 GB, free: 20.21 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/1.027, allocations: 9.016 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.027, allocations: 2.75 kB / 1.329 GB, free: 20.2 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/1.029, allocations: 420.8 kB / 1.33 GB, free: 20.07 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/1.03, allocations: 0.859 MB / 1.331 GB, free: 19.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000705/1.031, allocations: 261.1 kB / 1.331 GB, free: 19.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000576/1.032, allocations: 205.3 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.968e-05/1.032, allocations: 2.312 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/1.032, allocations: 40.86 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/1.032, allocations: 0 / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001898/1.034, allocations: 0.651 MB / 1.332 GB, free: 19.05 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/1.034, allocations: 58.02 kB / 1.332 GB, free: 18.99 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004974/1.034, allocations: 435.9 kB / 1.332 GB, free: 18.77 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.21e-05/1.034, allocations: 26.86 kB / 1.332 GB, free: 18.74 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/1.034, allocations: 180.5 kB / 1.332 GB, free: 18.59 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.419e-05/1.034, allocations: 63.78 kB / 1.332 GB, free: 18.54 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/1.035, allocations: 41.95 kB / 1.332 GB, free: 18.51 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 8.753e-05/1.035, allocations: 348.5 kB / 1.333 GB, free: 18.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005689/1.035, allocations: 193.5 kB / 1.333 GB, free: 18.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005866/1.036, allocations: 232.7 kB / 1.333 GB, free: 18.02 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/1.037, allocations: 372.9 kB / 1.334 GB, free: 17.89 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.037, allocations: 1 kB / 1.334 GB, free: 17.89 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001275/1.038, allocations: 462.8 kB / 1.334 GB, free: 17.71 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/1.038, allocations: 5.859 kB / 1.334 GB, free: 17.71 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/1.038, allocations: 4 kB / 1.334 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/1.038, allocations: 1.594 kB / 1.334 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/1.039, allocations: 62.25 kB / 1.334 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.039, allocations: 4.75 kB / 1.334 GB, free: 17.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003606/1.039, allocations: 44.02 kB / 1.334 GB, free: 17.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/1.039, allocations: 9.859 kB / 1.334 GB, free: 17.68 MB / 1.061 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.0001697/1.039, allocations: 168.8 kB / 1.334 GB, free: 17.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.138e-05/1.039, allocations: 36.89 kB / 1.334 GB, free: 17.52 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.466e-05/1.039, allocations: 41.7 kB / 1.334 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.039, allocations: 1.656 kB / 1.334 GB, free: 17.5 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.039, allocations: 4.438 kB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.039, allocations: 1.703 kB / 1.334 GB, free: 17.49 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006232/1.04, allocations: 486.4 kB / 1.335 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/1.04, allocations: 0 / 1.335 GB, free: 17.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/1.04, allocations: 61.97 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.04, allocations: 1.281 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.263e-05/1.041, allocations: 7.703 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/1.041, allocations: 1.656 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/1.041, allocations: 4.562 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/1.042, allocations: 0.5545 MB / 1.335 GB, free: 16.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 7.415e-05/1.042, allocations: 119.5 kB / 1.336 GB, free: 16.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.793e-05/1.042, allocations: 1.641 kB / 1.336 GB, free: 16.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/1.042, allocations: 33.8 kB / 1.336 GB, free: 16.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/1.043, allocations: 25.31 kB / 1.336 GB, free: 16.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.043, allocations: 14.67 kB / 1.336 GB, free: 16.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003524/1.043, allocations: 307.8 kB / 1.336 GB, free: 16.58 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.043, allocations: 0 / 1.336 GB, free: 16.58 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003463/1.043, allocations: 67.06 kB / 1.336 GB, free: 16.57 MB / 1.061 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.0001223/1.043, allocations: 106.9 kB / 1.336 GB, free: 16.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001194/1.045, allocations: 419.8 kB / 1.336 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/1.045, allocations: 0 / 1.336 GB, free: 16.34 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0005977/1.045, allocations: 217.8 kB / 1.337 GB, free: 16.28 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/1.046, allocations: 62.41 kB / 1.337 GB, free: 16.24 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/1.047, allocations: 0.7184 MB / 1.337 GB, free: 15.83 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/1.047, allocations: 0.7917 MB / 1.338 GB, free: 15.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.047, allocations: 34.12 kB / 1.338 GB, free: 15.11 MB / 1.061 GB Notification: Performance of SimCode: time 3.3e-07/1.047, allocations: 0 / 1.338 GB, free: 15.11 MB / 1.061 GB Notification: Performance of Templates: time 0.009757/1.057, allocations: 5.027 MB / 1.343 GB, free: 14.66 MB / 1.061 GB " [Timeout remaining time 299] 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/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: 11.599847694000346]