Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.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.001676/0.001676, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00206/0.00206, allocations: 161 kB / 23.01 MB, free: 4.602 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.428/1.428, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.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 2.866/2.866, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 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.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaPum.QSou_flow|heaPum.QLoa_flow|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.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.003406/0.003406, allocations: 63.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9019/0.9053, allocations: 181.8 MB / 1.187 GB, free: 16.39 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06071/0.966, allocations: 57.7 MB / 1.243 GB, free: 9.586 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.02239/0.9884, allocations: 12.62 MB / 1.255 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.9913, allocations: 85.56 kB / 1.255 GB, free: 0.8945 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.002993/0.9943, allocations: 0.9127 MB / 1.256 GB, free: 408 kB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007893/1.002, allocations: 2.597 MB / 1.259 GB, free: 14.68 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00464/1.007, allocations: 1.643 MB / 1.26 GB, free: 13.42 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009933/1.017, allocations: 4.369 MB / 1.265 GB, free: 10.8 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/1.02, allocations: 1.131 MB / 1.266 GB, free: 9.957 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00531/1.025, allocations: 1.881 MB / 1.268 GB, free: 8.82 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002626/1.027, allocations: 1.264 MB / 1.269 GB, free: 8.055 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0003765/1.028, allocations: 177.2 kB / 1.269 GB, free: 8.051 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003463/1.031, allocations: 1.171 MB / 1.27 GB, free: 7.508 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0005887/1.032, allocations: 0.5272 MB / 1.271 GB, free: 7.094 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.001163/1.033, allocations: 0.8107 MB / 1.271 GB, free: 6.598 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/1.038, allocations: 3.196 MB / 1.275 GB, free: 4.441 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.038, allocations: 1.219 kB / 1.275 GB, free: 4.441 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.933e-06/1.038, allocations: 0 / 1.275 GB, free: 4.441 MB / 1.123 GB Notification: Performance of Transformations before backend: time 4.072e-05/1.038, allocations: 3.938 kB / 1.275 GB, free: 4.438 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.00506/1.044, allocations: 2.326 MB / 1.277 GB, free: 2.758 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.81e-05/1.044, allocations: 8.906 kB / 1.277 GB, free: 2.758 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003271/1.047, allocations: 0.5458 MB / 1.277 GB, free: 2.508 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003008/1.05, allocations: 1.439 MB / 1.279 GB, free: 1.438 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/1.05, allocations: 266.3 kB / 1.279 GB, free: 1.199 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/1.05, allocations: 103.3 kB / 1.279 GB, free: 1.168 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/1.054, allocations: 1.924 MB / 1.281 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/1.054, allocations: 9.312 kB / 1.281 GB, free: 15.71 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001367/1.054, allocations: 44 kB / 1.281 GB, free: 15.68 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.311e-05/1.054, allocations: 37.16 kB / 1.281 GB, free: 15.67 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004434/1.059, allocations: 1.561 MB / 1.283 GB, free: 14.89 MB / 1.139 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009309/1.068, allocations: 4.983 MB / 1.287 GB, free: 11.02 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/1.071, allocations: 0.9298 MB / 1.288 GB, free: 10.53 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001862/1.073, allocations: 0.6276 MB / 1.289 GB, free: 10.21 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003889/1.073, allocations: 101.6 kB / 1.289 GB, free: 10.18 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/1.073, allocations: 49.12 kB / 1.289 GB, free: 10.12 MB / 1.139 GB Notification: Performance of pre-optimization done (n=77): time 2.905e-06/1.073, allocations: 0 / 1.289 GB, free: 10.12 MB / 1.139 GB Notification: Performance of matching and sorting (n=77): time 0.006159/1.079, allocations: 1.894 MB / 1.291 GB, free: 9.176 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/1.079, allocations: 112.2 kB / 1.291 GB, free: 9.051 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/1.081, allocations: 1.323 MB / 1.292 GB, free: 8.32 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001225/1.081, allocations: 44.58 kB / 1.292 GB, free: 8.277 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006703/1.082, allocations: 0.7219 MB / 1.293 GB, free: 7.641 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003066/1.082, allocations: 277.8 kB / 1.293 GB, free: 7.398 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003528/1.083, allocations: 180.1 kB / 1.294 GB, free: 7.293 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001753/1.083, allocations: 342 kB / 1.294 GB, free: 6.961 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001906/1.085, allocations: 0.6006 MB / 1.295 GB, free: 6.652 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/1.087, allocations: 1.11 MB / 1.296 GB, free: 5.727 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003814/1.091, allocations: 1.327 MB / 1.297 GB, free: 4.586 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.091, allocations: 0 / 1.297 GB, free: 4.586 MB / 1.139 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004588/1.095, allocations: 1.547 MB / 1.298 GB, free: 3.035 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/1.095, allocations: 8 kB / 1.298 GB, free: 3.027 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.095, allocations: 12.02 kB / 1.298 GB, free: 3.016 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.255e-05/1.095, allocations: 8 kB / 1.298 GB, free: 3.008 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/1.097, allocations: 307.5 kB / 1.299 GB, free: 2.707 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.792e-05/1.097, allocations: 11.94 kB / 1.299 GB, free: 2.695 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.099, allocations: 175.3 kB / 1.299 GB, free: 2.523 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.099, allocations: 43.92 kB / 1.299 GB, free: 2.48 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002414/1.101, allocations: 0.9039 MB / 1.3 GB, free: 1.57 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002204/1.103, allocations: 1.101 MB / 1.301 GB, free: 320 kB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003757/1.107, allocations: 1.312 MB / 1.302 GB, free: 14.93 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/1.107, allocations: 0 / 1.302 GB, free: 14.93 MB / 1.154 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004514/1.112, allocations: 1.547 MB / 1.304 GB, free: 13.38 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/1.112, allocations: 4 kB / 1.304 GB, free: 13.38 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.112, allocations: 12.03 kB / 1.304 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/1.112, allocations: 8 kB / 1.304 GB, free: 13.36 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/1.113, allocations: 307.5 kB / 1.304 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.774e-05/1.113, allocations: 11.94 kB / 1.304 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001446/1.115, allocations: 167.4 kB / 1.304 GB, free: 12.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.863e-05/1.115, allocations: 39.98 kB / 1.304 GB, free: 12.84 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 109 * 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.0003472/1.115, allocations: 240 kB / 1.304 GB, free: 12.6 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003016/1.115, allocations: 159 kB / 1.305 GB, free: 12.44 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/1.12, allocations: 1.692 MB / 1.306 GB, free: 10.71 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/1.12, allocations: 8 kB / 1.306 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.12, allocations: 0 / 1.306 GB, free: 10.7 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003778/1.124, allocations: 1.316 MB / 1.308 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007016/1.131, allocations: 2.965 MB / 1.31 GB, free: 6.297 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.131, allocations: 4 kB / 1.31 GB, free: 6.293 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001318/1.132, allocations: 232.2 kB / 1.311 GB, free: 6.066 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/1.132, allocations: 8 kB / 1.311 GB, free: 6.059 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.842e-05/1.132, allocations: 19.98 kB / 1.311 GB, free: 6.039 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.329e-05/1.132, allocations: 19.92 kB / 1.311 GB, free: 6.02 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/1.132, allocations: 4 kB / 1.311 GB, free: 6.016 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00638/1.139, allocations: 2.41 MB / 1.313 GB, free: 3.531 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/1.139, allocations: 298.7 kB / 1.313 GB, free: 3.238 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003318/1.14, allocations: 24 kB / 1.313 GB, free: 3.215 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001507/1.141, allocations: 127.9 kB / 1.313 GB, free: 3.09 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/1.141, allocations: 84.25 kB / 1.314 GB, free: 3.008 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/1.142, allocations: 43.97 kB / 1.314 GB, free: 2.965 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.00148/1.143, allocations: 0.918 MB / 1.315 GB, free: 2.047 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/1.143, allocations: 0 / 1.315 GB, free: 2.047 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002644/1.146, allocations: 0.8535 MB / 1.315 GB, free: 1.191 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U) * Number of discrete variables: 2 (reaToInt.y,intGreThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0008299/1.147, allocations: 446.1 kB / 1.316 GB, free: 0.7422 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006165/1.153, allocations: 2.059 MB / 1.318 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 8.876e-06/1.153, allocations: 4 kB / 1.318 GB, free: 14.68 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002163/1.155, allocations: 0.7182 MB / 1.318 GB, free: 13.96 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.158, allocations: 0.6324 MB / 1.319 GB, free: 13.34 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005599/1.164, allocations: 2.893 MB / 1.322 GB, free: 10.35 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/1.164, allocations: 0.6912 MB / 1.323 GB, free: 9.625 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001552/1.166, allocations: 402.2 kB / 1.323 GB, free: 9.227 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004141/1.166, allocations: 120.5 kB / 1.323 GB, free: 9.109 MB / 1.17 GB Notification: Performance of SimCode: time 9.42e-07/1.166, allocations: 0 / 1.323 GB, free: 9.109 MB / 1.17 GB Notification: Performance of Templates: time 0.05433/1.221, allocations: 30.74 MB / 1.353 GB, free: 10.88 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.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.9006579129491]