Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.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.001531/0.001531, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.00188/0.00188, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 18.57 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 0.9758/0.9758, allocations: 177.2 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.434/2.434, allocations: 438.8 MB / 0.6827 GB, free: 13.59 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.31e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002736/0.002759, allocations: 2.451 MB / 0.841 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.004583, allocations: 1.452 MB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.00469, allocations: 8 kB / 0.8424 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0004437/0.005133, allocations: 182.8 kB / 0.8426 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.804e-05/0.005231, allocations: 83.27 kB / 0.8427 GB, free: 9.973 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.005478, allocations: 131.6 kB / 0.8428 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002826/0.005761, allocations: 346.9 kB / 0.8431 GB, free: 9.504 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.673e-05/0.005857, allocations: 38.81 kB / 0.8432 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.006085, allocations: 191.6 kB / 0.8434 GB, free: 9.281 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.006303, allocations: 167.6 kB / 0.8435 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.006341, allocations: 32 kB / 0.8436 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.006449, allocations: 71.97 kB / 0.8436 GB, free: 9.016 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.006536, allocations: 127.6 kB / 0.8437 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 8.558e-05/0.006622, allocations: 119.7 kB / 0.8439 GB, free: 8.773 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.00693, allocations: 334.9 kB / 0.8442 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.006934, allocations: 0 / 0.8442 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006934, allocations: 0 / 0.8442 GB, free: 8.445 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.006939, allocations: 0 / 0.8442 GB, free: 8.445 MB / 0.8073 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.0006631/0.007602, allocations: 0.6075 MB / 0.8448 GB, free: 7.812 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.007634, allocations: 8.625 kB / 0.8448 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004898/0.008124, allocations: 148.8 kB / 0.8449 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.008384, allocations: 255.9 kB / 0.8452 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.008488, allocations: 191 kB / 0.8454 GB, free: 7.156 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.00851, allocations: 12.38 kB / 0.8454 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.008797, allocations: 196.1 kB / 0.8455 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.008805, allocations: 4.125 kB / 0.8456 GB, free: 6.941 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.008824, allocations: 8.125 kB / 0.8456 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.00883, allocations: 4 kB / 0.8456 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.008993, allocations: 88.66 kB / 0.8456 GB, free: 6.844 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.009637, allocations: 410.6 kB / 0.846 GB, free: 6.426 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.009826, allocations: 154.3 kB / 0.8462 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.009907, allocations: 60.84 kB / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.009931, allocations: 0 / 0.8462 GB, free: 6.203 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.009952, allocations: 38.56 kB / 0.8463 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.062e-06/0.009953, allocations: 0 / 0.8463 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0003383/0.01029, allocations: 195.7 kB / 0.8465 GB, free: 5.961 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.01032, allocations: 55.41 kB / 0.8465 GB, free: 5.895 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.01051, allocations: 315.4 kB / 0.8468 GB, free: 5.574 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.01054, allocations: 33.7 kB / 0.8469 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.819e-05/0.0106, allocations: 133.4 kB / 0.847 GB, free: 5.398 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.01065, allocations: 59.47 kB / 0.847 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.01072, allocations: 41.67 kB / 0.8471 GB, free: 5.293 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.0108, allocations: 350.7 kB / 0.8474 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8e-05/0.01088, allocations: 43.12 kB / 0.8475 GB, free: 4.898 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.01101, allocations: 156.4 kB / 0.8476 GB, free: 4.715 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.01117, allocations: 104.7 kB / 0.8477 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01117, allocations: 0 / 0.8477 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002124/0.01138, allocations: 156.3 kB / 0.8479 GB, free: 4.449 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.0114, allocations: 4 kB / 0.8479 GB, free: 4.445 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.0114, allocations: 4 kB / 0.8479 GB, free: 4.441 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.01142, allocations: 4 kB / 0.8479 GB, free: 4.438 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.01162, allocations: 47.95 kB / 0.8479 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.01162, allocations: 0 / 0.8479 GB, free: 4.391 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.01173, allocations: 31.86 kB / 0.8479 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.01174, allocations: 8 kB / 0.8479 GB, free: 4.352 MB / 0.8073 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 9.623e-05/0.01184, allocations: 120.5 kB / 0.8481 GB, free: 4.223 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.01188, allocations: 27.97 kB / 0.8481 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.861e-05/0.01192, allocations: 39.45 kB / 0.8481 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01193, allocations: 4.031 kB / 0.8481 GB, free: 4.156 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.01193, allocations: 3.984 kB / 0.8481 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01193, allocations: 4 kB / 0.8481 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002294/0.01216, allocations: 205.7 kB / 0.8483 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01217, allocations: 0 / 0.8483 GB, free: 3.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.01234, allocations: 59.83 kB / 0.8484 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.01234, allocations: 0 / 0.8484 GB, free: 3.871 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.01236, allocations: 3.984 kB / 0.8484 GB, free: 3.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.01236, allocations: 7.984 kB / 0.8484 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01236, allocations: 0 / 0.8484 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002757/0.01264, allocations: 289.3 kB / 0.8487 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.789e-05/0.01268, allocations: 47.61 kB / 0.8487 GB, free: 3.516 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.999e-05/0.01271, allocations: 4 kB / 0.8487 GB, free: 3.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.01282, allocations: 19.98 kB / 0.8487 GB, free: 3.492 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.725e-05/0.01289, allocations: 19.95 kB / 0.8488 GB, free: 3.473 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01291, allocations: 8 kB / 0.8488 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 9.978e-05/0.01301, allocations: 136.6 kB / 0.8489 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01301, allocations: 0 / 0.8489 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.00044/0.01345, allocations: 64 kB / 0.849 GB, free: 3.266 MB / 0.8073 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 9.789e-05/0.01354, allocations: 87.88 kB / 0.849 GB, free: 3.176 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.01378, allocations: 132.7 kB / 0.8492 GB, free: 3.043 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.01378, allocations: 4 kB / 0.8492 GB, free: 3.039 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.01389, allocations: 80.77 kB / 0.8493 GB, free: 2.957 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.01412, allocations: 69.45 kB / 0.8493 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008234/0.01495, allocations: 0.5564 MB / 0.8499 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.334e-05/0.01501, allocations: 108.2 kB / 0.85 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.000137/0.01515, allocations: 46.27 kB / 0.85 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/0.01535, allocations: 99.33 kB / 0.8501 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of SimCode: time 1.192e-06/0.01535, allocations: 0 / 0.8501 GB, free: 2.031 MB / 0.8073 GB Notification: Performance of Templates: time 0.006356/0.02171, allocations: 4.654 MB / 0.8547 GB, free: 13.48 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.312765336129814]