Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001932/0.001932, allocations: 189.9 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.906/2.906, allocations: 476.7 MB / 0.7646 GB, free: 9.898 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.89 kB / 1.11 GB, free: 6.379 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8832/0.8852, allocations: 168.8 MB / 1.274 GB, free: 4.25 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003801/0.889, allocations: 2.407 MB / 1.277 GB, free: 1.832 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.00224/0.8913, allocations: 1.421 MB / 1.278 GB, free: 412 kB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000141/0.8914, allocations: 4 kB / 1.278 GB, free: 408 kB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.892, allocations: 202.9 kB / 1.278 GB, free: 204 kB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.8921, allocations: 71.36 kB / 1.278 GB, free: 132 kB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.8925, allocations: 127.6 kB / 1.278 GB, free: 4 kB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0003878/0.8929, allocations: 322.8 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.893, allocations: 32.92 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002064/0.8932, allocations: 131.5 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.8935, allocations: 195.3 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.8935, allocations: 32 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.8937, allocations: 71.95 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001495/0.8938, allocations: 123.6 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001775/0.894, allocations: 179 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005793/0.8946, allocations: 0.4888 MB / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.8946, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.303e-06/0.8946, allocations: 3.938 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 6.612e-06/0.8946, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 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.001339/0.8959, allocations: 0.6367 MB / 1.281 GB, free: 13.78 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.896, allocations: 16.02 kB / 1.281 GB, free: 13.77 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009476/0.8969, allocations: 140.5 kB / 1.281 GB, free: 13.63 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004872/0.8974, allocations: 296.8 kB / 1.281 GB, free: 13.31 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000128/0.8975, allocations: 88.17 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/0.8976, allocations: 12.38 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.8984, allocations: 308 kB / 1.281 GB, free: 12.9 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.8984, allocations: 0 / 1.281 GB, free: 12.9 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.187e-05/0.8985, allocations: 0 / 1.281 GB, free: 12.9 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8985, allocations: 8 kB / 1.281 GB, free: 12.89 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.8997, allocations: 416.4 kB / 1.282 GB, free: 12.48 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.9015, allocations: 0.8499 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0007284/0.9023, allocations: 254.4 kB / 1.283 GB, free: 11.34 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006091/0.9029, allocations: 208.7 kB / 1.283 GB, free: 11.13 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.9029, allocations: 8 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.9029, allocations: 30.56 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=18): time 1.482e-06/0.9029, allocations: 0 / 1.283 GB, free: 11.08 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=18): time 0.00199/0.9049, allocations: 0.6514 MB / 1.284 GB, free: 10.43 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.905, allocations: 55.34 kB / 1.284 GB, free: 10.36 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.9055, allocations: 425.6 kB / 1.284 GB, free: 9.934 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.9055, allocations: 37.7 kB / 1.284 GB, free: 9.891 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.9057, allocations: 180 kB / 1.284 GB, free: 9.711 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.9058, allocations: 55.48 kB / 1.284 GB, free: 9.656 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.9059, allocations: 37.7 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001785/0.9061, allocations: 350.8 kB / 1.285 GB, free: 9.262 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006097/0.9067, allocations: 199.8 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.9073, allocations: 223.3 kB / 1.285 GB, free: 8.836 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.9086, allocations: 374.3 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9086, allocations: 0 / 1.286 GB, free: 8.469 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.001472/0.91, allocations: 465.2 kB / 1.286 GB, free: 8.008 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.9101, allocations: 9.875 kB / 1.286 GB, free: 8 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.9101, allocations: 0 / 1.286 GB, free: 8 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.9101, allocations: 0 / 1.286 GB, free: 8 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.9106, allocations: 63.86 kB / 1.286 GB, free: 7.938 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.9106, allocations: 3.938 kB / 1.286 GB, free: 7.934 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003683/0.911, allocations: 47.84 kB / 1.286 GB, free: 7.887 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.911, allocations: 7.984 kB / 1.286 GB, free: 7.879 MB / 0.9825 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.0002124/0.9112, allocations: 160 kB / 1.286 GB, free: 7.715 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.9113, allocations: 39.77 kB / 1.286 GB, free: 7.676 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.9114, allocations: 47.45 kB / 1.286 GB, free: 7.629 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.9114, allocations: 0 / 1.286 GB, free: 7.629 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.9114, allocations: 3.938 kB / 1.286 GB, free: 7.625 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.9114, allocations: 0 / 1.286 GB, free: 7.625 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005901/0.912, allocations: 454 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.912, allocations: 0 / 1.287 GB, free: 7.141 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004792/0.9124, allocations: 59.88 kB / 1.287 GB, free: 7.082 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.9125, allocations: 4 kB / 1.287 GB, free: 7.078 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/0.9125, allocations: 3.984 kB / 1.287 GB, free: 7.074 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.9125, allocations: 3.938 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9125, allocations: 3.938 kB / 1.287 GB, free: 7.066 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.9138, allocations: 0.5498 MB / 1.287 GB, free: 6.5 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.702e-05/0.9139, allocations: 43.69 kB / 1.288 GB, free: 6.457 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.914, allocations: 4 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.9144, allocations: 31.95 kB / 1.288 GB, free: 6.422 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.9145, allocations: 39.73 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.9145, allocations: 7.984 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 0.0003517/0.9149, allocations: 303.1 kB / 1.288 GB, free: 6.082 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/0.9149, allocations: 0 / 1.288 GB, free: 6.082 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0003471/0.9152, allocations: 71.95 kB / 1.288 GB, free: 6.012 MB / 0.9825 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.0001568/0.9154, allocations: 99.23 kB / 1.288 GB, free: 5.902 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.001309/0.9167, allocations: 421.8 kB / 1.288 GB, free: 5.492 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.9167, allocations: 0 / 1.288 GB, free: 5.492 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006429/0.9173, allocations: 223.8 kB / 1.289 GB, free: 5.273 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.9177, allocations: 47.73 kB / 1.289 GB, free: 5.23 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.9192, allocations: 0.6851 MB / 1.289 GB, free: 4.512 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004552/0.9197, allocations: 0.7946 MB / 1.29 GB, free: 3.691 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 0.0002764/0.92, allocations: 66.23 kB / 1.29 GB, free: 3.629 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.9201, allocations: 27.42 kB / 1.29 GB, free: 3.602 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.41e-07/0.9201, allocations: 3.938 kB / 1.29 GB, free: 3.598 MB / 0.9825 GB
Notification: Performance of Templates: time 0.009677/0.9298, allocations: 4.418 MB / 1.295 GB, free: 15.23 MB / 0.9981 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.337763486430049]