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.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.001402/0.001402, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002032/0.002032, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.446/1.446, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.185/3.185, allocations: 0.5107 GB / 0.8166 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002075/0.002075, allocations: 65.48 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3983, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004501/0.4028, allocations: 2.292 MB / 1.367 GB, free: 11.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002737/0.4055, allocations: 1.355 MB / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002558/0.4058, allocations: 0 / 1.368 GB, free: 9.992 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.4066, allocations: 178.9 kB / 1.368 GB, free: 9.816 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.4069, allocations: 75.36 kB / 1.368 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005092/0.4074, allocations: 139.7 kB / 1.369 GB, free: 9.605 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005344/0.4079, allocations: 330.8 kB / 1.369 GB, free: 9.281 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.408, allocations: 32.86 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.4083, allocations: 147.5 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002979/0.4086, allocations: 171.3 kB / 1.369 GB, free: 8.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.4087, allocations: 32 kB / 1.369 GB, free: 8.898 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.4088, allocations: 75.95 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.409, allocations: 119.6 kB / 1.369 GB, free: 8.707 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.4091, allocations: 143.2 kB / 1.37 GB, free: 8.566 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000588/0.4097, allocations: 0.4981 MB / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.4097, allocations: 0 / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4097, allocations: 0 / 1.37 GB, free: 8.066 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.4097, allocations: 0 / 1.37 GB, free: 8.066 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.001331/0.4111, allocations: 0.6405 MB / 1.371 GB, free: 7.395 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.4111, allocations: 16.03 kB / 1.371 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.4122, allocations: 176.5 kB / 1.371 GB, free: 7.207 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005289/0.4127, allocations: 312.6 kB / 1.371 GB, free: 6.883 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/0.413, allocations: 195 kB / 1.371 GB, free: 6.652 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.359e-05/0.413, allocations: 16.36 kB / 1.371 GB, free: 6.637 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007641/0.4138, allocations: 299.4 kB / 1.372 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4138, allocations: 0 / 1.372 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.4138, allocations: 4 kB / 1.372 GB, free: 6.336 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4138, allocations: 4 kB / 1.372 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.4149, allocations: 416.4 kB / 1.372 GB, free: 5.926 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.4166, allocations: 0.7345 MB / 1.373 GB, free: 5.156 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.4173, allocations: 250.4 kB / 1.373 GB, free: 4.902 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005443/0.4178, allocations: 204.7 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.4179, allocations: 11.88 kB / 1.373 GB, free: 4.688 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.4179, allocations: 34.56 kB / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of pre-optimization done (n=18): time 1.743e-06/0.4179, allocations: 0 / 1.373 GB, free: 4.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=18): time 0.001827/0.4197, allocations: 0.6516 MB / 1.374 GB, free: 3.988 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.054e-05/0.4198, allocations: 55.41 kB / 1.374 GB, free: 3.922 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.4203, allocations: 421.6 kB / 1.374 GB, free: 3.5 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/0.4203, allocations: 25.7 kB / 1.374 GB, free: 3.469 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4205, allocations: 184.4 kB / 1.375 GB, free: 3.285 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/0.4205, allocations: 55.48 kB / 1.375 GB, free: 3.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001091/0.4206, allocations: 41.7 kB / 1.375 GB, free: 3.184 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.4208, allocations: 346.8 kB / 1.375 GB, free: 2.836 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005351/0.4214, allocations: 199.8 kB / 1.375 GB, free: 2.641 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006222/0.422, allocations: 304.3 kB / 1.375 GB, free: 2.312 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.423, allocations: 375.2 kB / 1.376 GB, free: 1.945 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.423, allocations: 0 / 1.376 GB, free: 1.945 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00122/0.4242, allocations: 469.1 kB / 1.376 GB, free: 1.48 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4242, allocations: 4 kB / 1.376 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4243, allocations: 0 / 1.376 GB, free: 1.477 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4243, allocations: 4 kB / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/0.4247, allocations: 63.8 kB / 1.376 GB, free: 1.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.4248, allocations: 4 kB / 1.376 GB, free: 1.406 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.4251, allocations: 51.78 kB / 1.376 GB, free: 1.355 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.4251, allocations: 7.984 kB / 1.376 GB, free: 1.348 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.0002319/0.4254, allocations: 162.5 kB / 1.377 GB, free: 1.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.4254, allocations: 35.77 kB / 1.377 GB, free: 1.145 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.594e-05/0.4255, allocations: 43.44 kB / 1.377 GB, free: 1.105 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.4255, allocations: 4 kB / 1.377 GB, free: 1.102 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.4255, allocations: 3.938 kB / 1.377 GB, free: 1.098 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.4255, allocations: 3.938 kB / 1.377 GB, free: 1.094 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005358/0.4261, allocations: 346.8 kB / 1.377 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4261, allocations: 0 / 1.377 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.4265, allocations: 63.92 kB / 1.377 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.4265, allocations: 0 / 1.377 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.4265, allocations: 11.98 kB / 1.377 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/0.4265, allocations: 0 / 1.377 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.4265, allocations: 0 / 1.377 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.4278, allocations: 0.563 MB / 1.378 GB, free: 76 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.4279, allocations: 39.75 kB / 1.378 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.4279, allocations: 0 / 1.378 GB, free: 36 kB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003316/0.4283, allocations: 31.95 kB / 1.378 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.4284, allocations: 27.95 kB / 1.378 GB, free: 15.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.4284, allocations: 4 kB / 1.378 GB, free: 15.97 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003585/0.4288, allocations: 319 kB / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4288, allocations: 0 / 1.378 GB, free: 15.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003332/0.4291, allocations: 60 kB / 1.378 GB, free: 15.6 MB / 1.076 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.0001559/0.4293, allocations: 107.1 kB / 1.378 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.4305, allocations: 429.8 kB / 1.379 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.4305, allocations: 0 / 1.379 GB, free: 15.07 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005749/0.431, allocations: 211.8 kB / 1.379 GB, free: 14.86 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.4315, allocations: 53.52 kB / 1.379 GB, free: 14.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/0.4331, allocations: 0.7128 MB / 1.379 GB, free: 14.06 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.4333, allocations: 183.5 kB / 1.38 GB, free: 13.86 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002078/0.4335, allocations: 27.42 kB / 1.38 GB, free: 13.83 MB / 1.076 GB Notification: Performance of SimCode: time 4.61e-07/0.4335, allocations: 0 / 1.38 GB, free: 13.83 MB / 1.076 GB Notification: Performance of Templates: time 0.008506/0.442, allocations: 5.13 MB / 1.385 GB, free: 8.738 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.71261755283922]