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.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.001568/0.001568, allocations: 105.4 kB / 17.08 MB, free: 5.961 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.001556/0.001556, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.388/1.388, allocations: 222.9 MB / 245.7 MB, free: 4.195 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.93/2.93, allocations: 491.4 MB / 0.7708 GB, free: 1.781 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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: Performance of FrontEnd - loaded program: time 0.001943/0.001944, allocations: 71.83 kB / 1.106 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8866/0.8886, allocations: 164.3 MB / 1.266 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06753/0.9562, allocations: 62.74 MB / 1.327 GB, free: 9.352 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.02172/0.9779, allocations: 13.68 MB / 1.341 GB, free: 15.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003202/0.9812, allocations: 60.25 kB / 1.341 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.003425/0.9846, allocations: 0.9471 MB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008333/0.993, allocations: 2.416 MB / 1.344 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005275/0.9983, allocations: 1.607 MB / 1.346 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.007938/1.006, allocations: 4.291 MB / 1.35 GB, free: 10.51 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00277/1.009, allocations: 1.426 MB / 1.351 GB, free: 9.812 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005498/1.015, allocations: 1.776 MB / 1.353 GB, free: 8.961 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/1.018, allocations: 1.285 MB / 1.354 GB, free: 8.363 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004537/1.018, allocations: 179.5 kB / 1.354 GB, free: 8.359 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/1.022, allocations: 1.423 MB / 1.356 GB, free: 7.852 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0007686/1.023, allocations: 0.5084 MB / 1.356 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/1.025, allocations: 1.005 MB / 1.357 GB, free: 6.926 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/1.032, allocations: 3.19 MB / 1.36 GB, free: 5.633 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.032, allocations: 0 / 1.36 GB, free: 5.633 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.933e-06/1.032, allocations: 0 / 1.36 GB, free: 5.633 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.819e-05/1.032, allocations: 0 / 1.36 GB, free: 5.633 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: 265 * Number of variables: 265 Notification: Performance of Generate backend data structure: time 0.006606/1.039, allocations: 2.401 MB / 1.363 GB, free: 3.859 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.039, allocations: 8.875 kB / 1.363 GB, free: 3.859 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/1.042, allocations: 0.5414 MB / 1.363 GB, free: 3.613 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003409/1.046, allocations: 1.51 MB / 1.365 GB, free: 2.449 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/1.046, allocations: 156 kB / 1.365 GB, free: 2.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/1.046, allocations: 112.4 kB / 1.365 GB, free: 2.301 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003932/1.05, allocations: 1.564 MB / 1.366 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.341e-05/1.05, allocations: 1.531 kB / 1.366 GB, free: 1.289 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.05, allocations: 47.59 kB / 1.367 GB, free: 1.254 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.456e-05/1.05, allocations: 33.56 kB / 1.367 GB, free: 1.25 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004539/1.055, allocations: 1.558 MB / 1.368 GB, free: 484 kB / 1.061 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.01097/1.066, allocations: 6.949 MB / 1.375 GB, free: 10.38 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/1.069, allocations: 1.273 MB / 1.376 GB, free: 9.504 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00201/1.071, allocations: 0.6624 MB / 1.377 GB, free: 9.172 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/1.072, allocations: 1.149 MB / 1.378 GB, free: 7.816 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/1.072, allocations: 43.94 kB / 1.378 GB, free: 7.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=77): time 2.585e-06/1.072, allocations: 1.219 kB / 1.378 GB, free: 7.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=77): time 0.006449/1.079, allocations: 1.913 MB / 1.38 GB, free: 6.805 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.956e-05/1.079, allocations: 111.2 kB / 1.38 GB, free: 6.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/1.081, allocations: 1.402 MB / 1.381 GB, free: 5.918 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/1.082, allocations: 43.83 kB / 1.381 GB, free: 5.875 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/1.082, allocations: 0.7291 MB / 1.382 GB, free: 5.227 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004208/1.083, allocations: 281.6 kB / 1.382 GB, free: 4.98 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003889/1.083, allocations: 183.4 kB / 1.382 GB, free: 4.867 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.083, allocations: 338.2 kB / 1.383 GB, free: 4.539 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/1.085, allocations: 0.6 MB / 1.383 GB, free: 4.23 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002155/1.087, allocations: 0.8318 MB / 1.384 GB, free: 3.645 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/1.091, allocations: 1.319 MB / 1.385 GB, free: 2.859 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/1.091, allocations: 1.25 kB / 1.385 GB, free: 2.859 MB / 1.076 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004823/1.096, allocations: 1.564 MB / 1.387 GB, free: 2.062 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/1.096, allocations: 8.688 kB / 1.387 GB, free: 2.062 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.096, allocations: 8.938 kB / 1.387 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/1.096, allocations: 9 kB / 1.387 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.098, allocations: 305.5 kB / 1.387 GB, free: 1.969 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/1.098, allocations: 12.92 kB / 1.387 GB, free: 1.965 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001772/1.1, allocations: 193.9 kB / 1.388 GB, free: 1.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/1.1, allocations: 43.62 kB / 1.388 GB, free: 1.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002452/1.102, allocations: 0.9013 MB / 1.388 GB, free: 1.324 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002097/1.104, allocations: 0.8281 MB / 1.389 GB, free: 0.7383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003706/1.108, allocations: 1.307 MB / 1.391 GB, free: 15.96 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.361e-06/1.108, allocations: 2.062 kB / 1.391 GB, free: 15.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004763/1.113, allocations: 1.558 MB / 1.392 GB, free: 15.17 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/1.113, allocations: 6.406 kB / 1.392 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.113, allocations: 5.375 kB / 1.392 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.113, allocations: 9.969 kB / 1.392 GB, free: 15.17 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00152/1.114, allocations: 309.2 kB / 1.392 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/1.114, allocations: 12.44 kB / 1.392 GB, free: 15.07 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/1.116, allocations: 179.2 kB / 1.393 GB, free: 14.97 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/1.116, allocations: 43.11 kB / 1.393 GB, free: 14.96 MB / 1.092 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.0003947/1.117, allocations: 239.1 kB / 1.393 GB, free: 14.73 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004001/1.117, allocations: 159.5 kB / 1.393 GB, free: 14.64 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004777/1.122, allocations: 1.687 MB / 1.395 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/1.122, allocations: 7.688 kB / 1.395 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/1.122, allocations: 1.219 kB / 1.395 GB, free: 13.66 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003795/1.126, allocations: 1.312 MB / 1.396 GB, free: 12.91 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007939/1.134, allocations: 3.401 MB / 1.399 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.134, allocations: 4.281 kB / 1.399 GB, free: 10.57 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.135, allocations: 225.9 kB / 1.399 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/1.135, allocations: 8.375 kB / 1.399 GB, free: 10.5 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.674e-05/1.135, allocations: 25.42 kB / 1.399 GB, free: 10.49 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.417e-05/1.135, allocations: 12.48 kB / 1.399 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.135, allocations: 15.94 kB / 1.4 GB, free: 10.47 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006734/1.142, allocations: 2.411 MB / 1.402 GB, free: 8.793 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.143, allocations: 407.6 kB / 1.402 GB, free: 8.375 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/1.144, allocations: 19.98 kB / 1.402 GB, free: 8.355 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.145, allocations: 135.9 kB / 1.402 GB, free: 8.223 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/1.145, allocations: 96.31 kB / 1.402 GB, free: 8.129 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.145, allocations: 43.91 kB / 1.403 GB, free: 8.086 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001836/1.147, allocations: 1.079 MB / 1.404 GB, free: 7.012 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.364e-06/1.147, allocations: 0 / 1.404 GB, free: 7.012 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.002787/1.15, allocations: 0.8227 MB / 1.404 GB, free: 6.188 MB / 1.092 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.001318/1.151, allocations: 461.8 kB / 1.405 GB, free: 5.734 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006661/1.158, allocations: 2.146 MB / 1.407 GB, free: 3.59 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/1.158, allocations: 0 / 1.407 GB, free: 3.59 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.00228/1.16, allocations: 0.7225 MB / 1.408 GB, free: 2.871 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004674/1.165, allocations: 0.8302 MB / 1.408 GB, free: 2.055 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005846/1.171, allocations: 2.967 MB / 1.411 GB, free: 14.98 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009779/1.172, allocations: 1.277 MB / 1.413 GB, free: 13.68 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/1.173, allocations: 139.4 kB / 1.413 GB, free: 13.54 MB / 1.107 GB Notification: Performance of SimCode: time 7.12e-07/1.173, allocations: 0 / 1.413 GB, free: 13.54 MB / 1.107 GB Notification: Performance of Templates: time 0.04686/1.22, allocations: 29.55 MB / 1.442 GB, free: 156 kB / 1.123 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 -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: 15.63677340594586]