Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001421/0.001421, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.00136/0.00136, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.473/1.473, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.859/2.859, allocations: 0.49 GB / 0.7923 GB, free: 1.285 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002137/0.002137, allocations: 71.91 kB / 1.15 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.EquationFitReversible): time 0.06416/1.09, allocations: 63.46 MB / 1.384 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0227/1.113, allocations: 13.69 MB / 1.397 GB, free: 1.738 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003667/1.117, allocations: 84.75 kB / 1.397 GB, free: 1.695 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003876/1.121, allocations: 0.9773 MB / 1.398 GB, free: 1.137 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009057/1.13, allocations: 2.553 MB / 1.401 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.005513/1.135, allocations: 1.613 MB / 1.402 GB, free: 14.73 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.008504/1.144, allocations: 4.322 MB / 1.407 GB, free: 12.62 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002757/1.146, allocations: 1.176 MB / 1.408 GB, free: 12.02 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00577/1.152, allocations: 1.836 MB / 1.41 GB, free: 11.16 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/1.156, allocations: 1.357 MB / 1.411 GB, free: 10.55 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006652/1.156, allocations: 176.1 kB / 1.411 GB, free: 10.55 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/1.161, allocations: 1.489 MB / 1.412 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.162, allocations: 0.5285 MB / 1.413 GB, free: 9.703 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002276/1.165, allocations: 1.006 MB / 1.414 GB, free: 9.074 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.007971/1.173, allocations: 3.255 MB / 1.417 GB, free: 7.855 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/1.173, allocations: 0 / 1.417 GB, free: 7.855 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.146e-06/1.173, allocations: 0.5156 kB / 1.417 GB, free: 7.855 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.709e-05/1.173, allocations: 4 kB / 1.417 GB, free: 7.852 MB / 1.107 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.006907/1.18, allocations: 2.408 MB / 1.42 GB, free: 6.336 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/1.18, allocations: 12.98 kB / 1.42 GB, free: 6.332 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003494/1.183, allocations: 0.5438 MB / 1.42 GB, free: 6.203 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003716/1.187, allocations: 1.507 MB / 1.422 GB, free: 5.316 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002117/1.187, allocations: 153.8 kB / 1.422 GB, free: 5.215 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/1.187, allocations: 108.6 kB / 1.422 GB, free: 5.18 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/1.192, allocations: 1.562 MB / 1.423 GB, free: 4.477 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/1.192, allocations: 2.266 kB / 1.423 GB, free: 4.477 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001581/1.192, allocations: 47.53 kB / 1.423 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/1.192, allocations: 30.61 kB / 1.423 GB, free: 4.441 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004769/1.197, allocations: 1.558 MB / 1.425 GB, free: 3.949 MB / 1.107 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.01168/1.208, allocations: 6.944 MB / 1.432 GB, free: 13.88 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002911/1.211, allocations: 1.24 MB / 1.433 GB, free: 13.02 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/1.213, allocations: 0.6307 MB / 1.434 GB, free: 12.7 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001038/1.214, allocations: 1.144 MB / 1.435 GB, free: 11.34 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/1.214, allocations: 45.31 kB / 1.435 GB, free: 11.3 MB / 1.123 GB Notification: Performance of pre-optimization done (n=77): time 2.856e-06/1.214, allocations: 4 kB / 1.435 GB, free: 11.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=77): time 0.006291/1.221, allocations: 1.902 MB / 1.437 GB, free: 10.34 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.811e-05/1.221, allocations: 115.7 kB / 1.437 GB, free: 10.21 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.223, allocations: 1.416 MB / 1.438 GB, free: 9.438 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/1.223, allocations: 44.2 kB / 1.438 GB, free: 9.395 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007023/1.224, allocations: 0.7249 MB / 1.439 GB, free: 8.75 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/1.224, allocations: 274.2 kB / 1.439 GB, free: 8.512 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003763/1.225, allocations: 188.6 kB / 1.439 GB, free: 8.395 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000161/1.225, allocations: 334.3 kB / 1.44 GB, free: 8.07 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/1.227, allocations: 0.5991 MB / 1.44 GB, free: 7.762 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/1.229, allocations: 0.8315 MB / 1.441 GB, free: 7.176 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/1.233, allocations: 1.311 MB / 1.442 GB, free: 6.402 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.233, allocations: 1.062 kB / 1.442 GB, free: 6.402 MB / 1.123 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004911/1.238, allocations: 1.564 MB / 1.444 GB, free: 5.605 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/1.238, allocations: 7.5 kB / 1.444 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/1.238, allocations: 4.281 kB / 1.444 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/1.238, allocations: 9.25 kB / 1.444 GB, free: 5.605 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/1.239, allocations: 313.9 kB / 1.444 GB, free: 5.508 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.606e-05/1.239, allocations: 13.23 kB / 1.444 GB, free: 5.504 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/1.241, allocations: 196.8 kB / 1.444 GB, free: 5.391 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/1.241, allocations: 39.77 kB / 1.444 GB, free: 5.379 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002486/1.244, allocations: 0.9059 MB / 1.445 GB, free: 4.859 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00208/1.246, allocations: 0.8266 MB / 1.446 GB, free: 4.273 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003824/1.25, allocations: 1.312 MB / 1.447 GB, free: 3.492 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.602e-06/1.25, allocations: 2 kB / 1.447 GB, free: 3.492 MB / 1.123 GB Notification: Performance of matching and sorting (n=109) (initialization_lambda0): time 0.004915/1.255, allocations: 1.555 MB / 1.449 GB, free: 2.699 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.255, allocations: 10.19 kB / 1.449 GB, free: 2.695 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/1.255, allocations: 5.781 kB / 1.449 GB, free: 2.695 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/1.255, allocations: 8.5 kB / 1.449 GB, free: 2.695 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001543/1.256, allocations: 309.7 kB / 1.449 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.256, allocations: 7.719 kB / 1.449 GB, free: 2.602 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/1.258, allocations: 175 kB / 1.449 GB, free: 2.508 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/1.258, allocations: 44.73 kB / 1.449 GB, free: 2.492 MB / 1.123 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.0004272/1.259, allocations: 237.8 kB / 1.45 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004841/1.259, allocations: 160.3 kB / 1.45 GB, free: 2.18 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004784/1.264, allocations: 1.696 MB / 1.451 GB, free: 1.188 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.848e-05/1.264, allocations: 7.719 kB / 1.451 GB, free: 1.188 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.264, allocations: 0 / 1.451 GB, free: 1.188 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003804/1.268, allocations: 1.318 MB / 1.453 GB, free: 452 kB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008234/1.276, allocations: 3.385 MB / 1.456 GB, free: 14.12 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/1.276, allocations: 8.875 kB / 1.456 GB, free: 14.11 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/1.277, allocations: 234.1 kB / 1.456 GB, free: 14.04 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.277, allocations: 15.84 kB / 1.456 GB, free: 14.03 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/1.277, allocations: 26.11 kB / 1.456 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-05/1.278, allocations: 7.594 kB / 1.456 GB, free: 14.01 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.794e-06/1.278, allocations: 11.97 kB / 1.456 GB, free: 14 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006799/1.284, allocations: 2.411 MB / 1.459 GB, free: 11.97 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/1.286, allocations: 411.5 kB / 1.459 GB, free: 11.55 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/1.286, allocations: 24 kB / 1.459 GB, free: 11.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/1.287, allocations: 135.9 kB / 1.459 GB, free: 11.39 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/1.288, allocations: 84.34 kB / 1.459 GB, free: 11.31 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.288, allocations: 43.91 kB / 1.459 GB, free: 11.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001848/1.29, allocations: 1.08 MB / 1.46 GB, free: 10.19 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.71e-07/1.29, allocations: 4 kB / 1.46 GB, free: 10.19 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.002938/1.293, allocations: 0.8188 MB / 1.461 GB, free: 9.367 MB / 1.139 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.001116/1.294, allocations: 457.6 kB / 1.462 GB, free: 8.91 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.006585/1.3, allocations: 2.052 MB / 1.464 GB, free: 6.859 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/1.3, allocations: 4 kB / 1.464 GB, free: 6.855 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002201/1.303, allocations: 0.6912 MB / 1.464 GB, free: 6.164 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/1.307, allocations: 0.8203 MB / 1.465 GB, free: 5.359 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005969/1.313, allocations: 2.975 MB / 1.468 GB, free: 2.285 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.314, allocations: 1.285 MB / 1.469 GB, free: 0.9727 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007996/1.315, allocations: 143.4 kB / 1.469 GB, free: 0.832 MB / 1.139 GB Notification: Performance of SimCode: time 1.583e-06/1.315, allocations: 0 / 1.469 GB, free: 0.832 MB / 1.139 GB Notification: Performance of Templates: time 0.0488/1.364, allocations: 29.68 MB / 1.498 GB, free: 3.328 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.Examples.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_Examples_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.89895677100867]