Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.00136/0.00136, allocations: 118.5 kB / 17.13 MB, free: 5.758 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.001357/0.001357, allocations: 194.1 kB / 20.08 MB, free: 2.848 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.426/1.426, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.571/2.571, allocations: 443.5 MB / 0.7293 GB, free: 14.53 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.057 GB, free: 2 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3544, allocations: 160.7 MB / 1.214 GB, free: 0.9727 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.7566/1.111, allocations: 63.09 MB / 1.276 GB, free: 24.55 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01859/1.13, allocations: 13.68 MB / 1.289 GB, free: 21.33 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002956/1.133, allocations: 60.75 kB / 1.289 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003511/1.136, allocations: 0.9842 MB / 1.29 GB, free: 20.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009051/1.145, allocations: 2.545 MB / 1.293 GB, free: 19.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005633/1.151, allocations: 1.607 MB / 1.294 GB, free: 18.99 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008787/1.16, allocations: 4.308 MB / 1.298 GB, free: 16.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002816/1.162, allocations: 1.185 MB / 1.299 GB, free: 16.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005102/1.167, allocations: 1.674 MB / 1.301 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/1.171, allocations: 1.354 MB / 1.302 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008913/1.172, allocations: 176.8 kB / 1.303 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005293/1.177, allocations: 1.46 MB / 1.304 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001137/1.178, allocations: 0.5241 MB / 1.305 GB, free: 14.08 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002888/1.181, allocations: 1.013 MB / 1.306 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008387/1.189, allocations: 3.183 MB / 1.309 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/1.189, allocations: 1.188 kB / 1.309 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.114e-06/1.189, allocations: 0 / 1.309 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001168/1.19, allocations: 0 / 1.309 GB, free: 12.25 MB / 0.9981 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.00797/1.198, allocations: 2.408 MB / 1.311 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/1.198, allocations: 9.219 kB / 1.311 GB, free: 10.74 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/1.201, allocations: 0.5404 MB / 1.312 GB, free: 10.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003718/1.205, allocations: 1.505 MB / 1.313 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/1.205, allocations: 153.5 kB / 1.313 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000368/1.206, allocations: 108.4 kB / 1.313 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004411/1.21, allocations: 1.561 MB / 1.315 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/1.21, allocations: 9.75 kB / 1.315 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/1.21, allocations: 43.06 kB / 1.315 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-05/1.21, allocations: 38.25 kB / 1.315 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004729/1.215, allocations: 1.56 MB / 1.316 GB, free: 8.355 MB / 0.9981 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.01172/1.227, allocations: 6.934 MB / 1.323 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0029/1.23, allocations: 1.236 MB / 1.324 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/1.232, allocations: 0.6258 MB / 1.325 GB, free: 2.406 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007118/1.232, allocations: 1.151 MB / 1.326 GB, free: 1.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/1.232, allocations: 42.34 kB / 1.326 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=77): time 3.236e-06/1.232, allocations: 0 / 1.326 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of matching and sorting (n=77): time 0.006603/1.239, allocations: 1.902 MB / 1.328 GB, free: 404 kB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.23e-05/1.239, allocations: 115 kB / 1.328 GB, free: 268 kB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/1.242, allocations: 1.406 MB / 1.329 GB, free: 15.7 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002301/1.242, allocations: 44.92 kB / 1.329 GB, free: 15.66 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008576/1.243, allocations: 0.7276 MB / 1.33 GB, free: 15.08 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004414/1.244, allocations: 275.1 kB / 1.33 GB, free: 14.86 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004432/1.244, allocations: 181.8 kB / 1.331 GB, free: 14.78 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.244, allocations: 342.8 kB / 1.331 GB, free: 14.45 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/1.246, allocations: 0.6067 MB / 1.332 GB, free: 14.25 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00219/1.248, allocations: 0.8254 MB / 1.332 GB, free: 13.8 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003899/1.252, allocations: 1.314 MB / 1.334 GB, free: 13.21 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/1.252, allocations: 5.656 kB / 1.334 GB, free: 13.21 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004897/1.257, allocations: 1.559 MB / 1.335 GB, free: 12.65 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.257, allocations: 7.438 kB / 1.335 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/1.257, allocations: 5.688 kB / 1.335 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/1.257, allocations: 12.06 kB / 1.335 GB, free: 12.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/1.259, allocations: 310.5 kB / 1.335 GB, free: 12.62 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-05/1.259, allocations: 17.62 kB / 1.336 GB, free: 12.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/1.261, allocations: 195.7 kB / 1.336 GB, free: 12.54 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/1.261, allocations: 35.8 kB / 1.336 GB, free: 12.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002643/1.264, allocations: 0.9031 MB / 1.337 GB, free: 12.15 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00214/1.266, allocations: 0.8318 MB / 1.337 GB, free: 11.7 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003836/1.27, allocations: 1.304 MB / 1.339 GB, free: 11.04 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.634e-06/1.27, allocations: 2.562 kB / 1.339 GB, free: 11.04 MB / 1.014 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004957/1.275, allocations: 1.558 MB / 1.34 GB, free: 10.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/1.275, allocations: 7.5 kB / 1.34 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.275, allocations: 4.469 kB / 1.34 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/1.275, allocations: 9 kB / 1.34 GB, free: 10.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.276, allocations: 310.2 kB / 1.341 GB, free: 10.15 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.309e-05/1.276, allocations: 12.5 kB / 1.341 GB, free: 10.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.278, allocations: 174.7 kB / 1.341 GB, free: 10.05 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/1.278, allocations: 42.48 kB / 1.341 GB, free: 10.04 MB / 1.014 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.0004895/1.279, allocations: 239.4 kB / 1.341 GB, free: 9.812 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000734/1.279, allocations: 159 kB / 1.341 GB, free: 9.727 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/1.285, allocations: 1.692 MB / 1.343 GB, free: 8.734 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/1.285, allocations: 11.92 kB / 1.343 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/1.285, allocations: 1.312 kB / 1.343 GB, free: 8.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003866/1.288, allocations: 1.316 MB / 1.344 GB, free: 7.984 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009429/1.298, allocations: 3.402 MB / 1.347 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.298, allocations: 3.719 kB / 1.347 GB, free: 5.648 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/1.299, allocations: 230.3 kB / 1.348 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.927e-05/1.299, allocations: 7.625 kB / 1.348 GB, free: 5.574 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/1.299, allocations: 21.83 kB / 1.348 GB, free: 5.562 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.9e-05/1.299, allocations: 15.61 kB / 1.348 GB, free: 5.555 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.865e-06/1.299, allocations: 8.281 kB / 1.348 GB, free: 5.551 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007165/1.307, allocations: 2.411 MB / 1.35 GB, free: 4.121 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/1.308, allocations: 399.1 kB / 1.35 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006628/1.309, allocations: 28.83 kB / 1.35 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.311, allocations: 136.5 kB / 1.351 GB, free: 3.711 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/1.311, allocations: 79.69 kB / 1.351 GB, free: 3.664 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001721/1.311, allocations: 47.55 kB / 1.351 GB, free: 3.645 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002491/1.314, allocations: 1.078 MB / 1.352 GB, free: 3.059 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.3e-07/1.314, allocations: 5.469 kB / 1.352 GB, free: 3.055 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003998/1.318, allocations: 0.8235 MB / 1.353 GB, free: 2.883 MB / 1.014 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.001604/1.319, allocations: 483.1 kB / 1.353 GB, free: 2.625 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006763/1.326, allocations: 2.045 MB / 1.355 GB, free: 1.66 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.326, allocations: 2.469 kB / 1.355 GB, free: 1.66 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.002316/1.328, allocations: 0.6984 MB / 1.356 GB, free: 1.316 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005556/1.334, allocations: 0.8186 MB / 1.357 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007033/1.341, allocations: 2.98 MB / 1.359 GB, free: 15.01 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/1.342, allocations: 1.269 MB / 1.361 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000905/1.343, allocations: 148.9 kB / 1.361 GB, free: 14 MB / 1.029 GB Notification: Performance of SimCode: time 1.002e-06/1.343, allocations: 0 / 1.361 GB, free: 14 MB / 1.029 GB Notification: Performance of Templates: time 0.05321/1.396, allocations: 29.7 MB / 1.39 GB, free: 2.359 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 16.366138719022274]