Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001516/0.001516, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001181/0.001181, allocations: 167.7 kB / 24.87 MB, free: 9.285 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.9301/0.9301, allocations: 177.1 MB / 205.3 MB, free: 5.086 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.845/1.845, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 1.203 kB / 0.7883 GB, free: 11.11 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.546e-05/2.743e-05, allocations: 4.641 kB / 0.7883 GB, free: 11.1 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003131/0.003158, allocations: 2.409 MB / 0.7906 GB, free: 8.699 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002093/0.005251, allocations: 1.408 MB / 0.792 GB, free: 7.293 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.005419, allocations: 7.938 kB / 0.792 GB, free: 7.285 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005857/0.006005, allocations: 188.6 kB / 0.7922 GB, free: 7.102 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.006131, allocations: 81.25 kB / 0.7923 GB, free: 7.023 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003512/0.006482, allocations: 141.3 kB / 0.7924 GB, free: 6.887 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000371/0.006853, allocations: 346.6 kB / 0.7928 GB, free: 6.547 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.006963, allocations: 28.92 kB / 0.7928 GB, free: 6.52 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002726/0.007236, allocations: 188.7 kB / 0.793 GB, free: 6.336 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.007487, allocations: 167.6 kB / 0.7931 GB, free: 6.172 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.007534, allocations: 33.94 kB / 0.7932 GB, free: 6.141 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.007666, allocations: 71.95 kB / 0.7932 GB, free: 6.07 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.007771, allocations: 127.6 kB / 0.7933 GB, free: 5.945 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 9.311e-05/0.007865, allocations: 111.7 kB / 0.7935 GB, free: 5.836 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.008404, allocations: 334.9 kB / 0.7938 GB, free: 5.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.008408, allocations: 2.594 kB / 0.7938 GB, free: 5.508 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008408, allocations: 0 / 0.7938 GB, free: 5.508 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.008415, allocations: 0 / 0.7938 GB, free: 5.508 MB / 0.698 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.0008574/0.009272, allocations: 0.7434 MB / 0.7945 GB, free: 4.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.009312, allocations: 12.03 kB / 0.7945 GB, free: 4.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000566/0.009878, allocations: 171.5 kB / 0.7947 GB, free: 4.555 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.0102, allocations: 272.2 kB / 0.7949 GB, free: 4.266 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.01033, allocations: 195 kB / 0.7951 GB, free: 4.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.01035, allocations: 8.375 kB / 0.7951 GB, free: 4.031 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003239/0.01068, allocations: 191.7 kB / 0.7953 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01069, allocations: 192 / 0.7953 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.01071, allocations: 9.406 kB / 0.7953 GB, free: 3.832 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.01072, allocations: 8 kB / 0.7953 GB, free: 3.824 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000184/0.0109, allocations: 109.4 kB / 0.7954 GB, free: 3.719 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008906/0.01179, allocations: 0.6139 MB / 0.796 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.01202, allocations: 129.9 kB / 0.7962 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.548e-05/0.01211, allocations: 71.66 kB / 0.7962 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.01214, allocations: 4 kB / 0.7962 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/0.01217, allocations: 36.14 kB / 0.7963 GB, free: 2.816 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.804e-06/0.01217, allocations: 0 / 0.7963 GB, free: 2.816 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004596/0.01263, allocations: 250.3 kB / 0.7965 GB, free: 2.566 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.01266, allocations: 51.91 kB / 0.7965 GB, free: 2.504 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006287/0.01329, allocations: 446.5 kB / 0.797 GB, free: 2.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.54e-05/0.01332, allocations: 30.23 kB / 0.797 GB, free: 2.016 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.01346, allocations: 256.5 kB / 0.7972 GB, free: 1.762 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.01352, allocations: 59.45 kB / 0.7973 GB, free: 1.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.255e-05/0.0136, allocations: 43.36 kB / 0.7973 GB, free: 1.652 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.01378, allocations: 0.5429 MB / 0.7979 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.01387, allocations: 49.06 kB / 0.7979 GB, free: 1.051 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.014, allocations: 179.3 kB / 0.7981 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.01417, allocations: 103.1 kB / 0.7982 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01418, allocations: 0 / 0.7982 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002917/0.01447, allocations: 195.5 kB / 0.7984 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.01448, allocations: 4 kB / 0.7984 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.01449, allocations: 0 / 0.7984 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.0145, allocations: 6 kB / 0.7984 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002036/0.0147, allocations: 43.89 kB / 0.7984 GB, free: 0.4961 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-06/0.01471, allocations: 4 kB / 0.7984 GB, free: 0.4922 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.01483, allocations: 28.81 kB / 0.7985 GB, free: 476 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.01484, allocations: 3.984 kB / 0.7985 GB, free: 472 kB / 0.698 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 0.0001234/0.01497, allocations: 169.6 kB / 0.7986 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.902e-05/0.01503, allocations: 39.77 kB / 0.7987 GB, free: 252 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.831e-05/0.01506, allocations: 36.58 kB / 0.7987 GB, free: 212 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.01507, allocations: 4 kB / 0.7987 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.01507, allocations: 0 / 0.7987 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.01507, allocations: 0 / 0.7987 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.01536, allocations: 272.2 kB / 0.799 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.01536, allocations: 7.922 kB / 0.799 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/0.01554, allocations: 49.75 kB / 0.799 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01554, allocations: 0 / 0.799 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.01555, allocations: 11.92 kB / 0.799 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.01556, allocations: 0 / 0.799 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01556, allocations: 0 / 0.799 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003221/0.01588, allocations: 347.5 kB / 0.7994 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.01592, allocations: 43.62 kB / 0.7994 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.207e-05/0.01595, allocations: 8 kB / 0.7994 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.01608, allocations: 15.98 kB / 0.7994 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.862e-05/0.01615, allocations: 27.95 kB / 0.7995 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.01617, allocations: 7.922 kB / 0.7995 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001543/0.01632, allocations: 275 kB / 0.7997 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01632, allocations: 8 kB / 0.7997 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002208/0.01654, allocations: 60 kB / 0.7998 GB, free: 15.05 MB / 0.7136 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 0.0001134/0.01666, allocations: 99.25 kB / 0.7999 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002777/0.01694, allocations: 149.6 kB / 0.8 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01694, allocations: 4 kB / 0.8 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.01706, allocations: 95.56 kB / 0.8001 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.01736, allocations: 69.33 kB / 0.8002 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008997/0.01826, allocations: 0.5704 MB / 0.8007 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.849e-05/0.01833, allocations: 104.3 kB / 0.8008 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001485/0.01848, allocations: 42.31 kB / 0.8009 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/0.01869, allocations: 130.2 kB / 0.801 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of SimCode: time 8.32e-07/0.01869, allocations: 0 / 0.801 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of Templates: time 0.006978/0.02567, allocations: 4.882 MB / 0.8058 GB, free: 8.941 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.916587417945266]