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.0009629/0.0009629, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009608/0.0009608, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9795/0.9795, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.766/1.766, allocations: 359 MB / 0.6052 GB, free: 11.03 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.914e-06/1.914e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.555e-05/2.746e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.00413/0.004157, allocations: 2.435 MB / 0.7895 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.006243, allocations: 1.438 MB / 0.7909 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001302/0.006373, allocations: 7.281 kB / 0.7909 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005191/0.006892, allocations: 186.8 kB / 0.791 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.858e-05/0.00699, allocations: 75.3 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.007283, allocations: 133.1 kB / 0.7912 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.007595, allocations: 347.3 kB / 0.7916 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.007704, allocations: 32.91 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.007955, allocations: 193 kB / 0.7918 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.008167, allocations: 159.6 kB / 0.7919 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.084e-05/0.008217, allocations: 28.62 kB / 0.792 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.008324, allocations: 67.97 kB / 0.792 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.008426, allocations: 128.6 kB / 0.7922 GB, free: 7.332 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.788e-05/0.008514, allocations: 111.7 kB / 0.7923 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.008845, allocations: 339.6 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.008847, allocations: 0 / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.503e-06/0.008848, allocations: 0.625 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.008854, allocations: 0 / 0.7926 GB, free: 6.891 MB / 0.7448 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.0008533/0.009707, allocations: 0.757 MB / 0.7933 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.009748, allocations: 12.03 kB / 0.7933 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006742/0.01042, allocations: 167.1 kB / 0.7935 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.01076, allocations: 280.5 kB / 0.7938 GB, free: 5.633 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001454/0.01091, allocations: 191 kB / 0.7939 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.01094, allocations: 16.38 kB / 0.794 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.01136, allocations: 207.9 kB / 0.7942 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.01137, allocations: 8.125 kB / 0.7942 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.231e-05/0.01139, allocations: 8.125 kB / 0.7942 GB, free: 5.172 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.0114, allocations: 4.562 kB / 0.7942 GB, free: 5.168 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.01166, allocations: 142.6 kB / 0.7943 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009459/0.01261, allocations: 0.6867 MB / 0.795 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.01287, allocations: 152.9 kB / 0.7951 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001299/0.013, allocations: 80.5 kB / 0.7952 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.01302, allocations: 8 kB / 0.7952 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.01305, allocations: 33.39 kB / 0.7953 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.01305, allocations: 0.9062 kB / 0.7953 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005414/0.01359, allocations: 295.2 kB / 0.7955 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.01362, allocations: 55.41 kB / 0.7956 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003277/0.01395, allocations: 446.8 kB / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.01397, allocations: 33.64 kB / 0.796 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.01411, allocations: 247.3 kB / 0.7963 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.242e-05/0.01417, allocations: 63.47 kB / 0.7963 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.033e-05/0.01425, allocations: 43.34 kB / 0.7964 GB, free: 2.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01441, allocations: 0.5402 MB / 0.7969 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.01453, allocations: 63.97 kB / 0.797 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.01471, allocations: 187.2 kB / 0.7971 GB, free: 1.98 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000213/0.01492, allocations: 120.7 kB / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01493, allocations: 1.125 kB / 0.7973 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000343/0.01527, allocations: 221.6 kB / 0.7975 GB, free: 1.641 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.01528, allocations: 4 kB / 0.7975 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.01529, allocations: 1.625 kB / 0.7975 GB, free: 1.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.0153, allocations: 4 kB / 0.7975 GB, free: 1.633 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002139/0.01552, allocations: 47.94 kB / 0.7975 GB, free: 1.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.01552, allocations: 4 kB / 0.7975 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001203/0.01564, allocations: 32.64 kB / 0.7976 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.01566, allocations: 4.562 kB / 0.7976 GB, free: 1.547 MB / 0.7448 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.0001101/0.01577, allocations: 169.5 kB / 0.7977 GB, free: 1.371 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000363/0.01613, allocations: 43.77 kB / 0.7978 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.01618, allocations: 40.09 kB / 0.7978 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.01619, allocations: 4 kB / 0.7978 GB, free: 1.277 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.01619, allocations: 4 kB / 0.7978 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0162, allocations: 0 / 0.7978 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003494/0.01655, allocations: 346.2 kB / 0.7982 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01655, allocations: 3.938 kB / 0.7982 GB, free: 0.9023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.01672, allocations: 55.89 kB / 0.7982 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.01672, allocations: 0 / 0.7982 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.01675, allocations: 7.984 kB / 0.7982 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.01675, allocations: 4 kB / 0.7982 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.01675, allocations: 0 / 0.7982 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004212/0.01717, allocations: 371.6 kB / 0.7986 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.104e-05/0.01721, allocations: 43.69 kB / 0.7986 GB, free: 420 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.01724, allocations: 4 kB / 0.7986 GB, free: 416 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.01737, allocations: 23.97 kB / 0.7986 GB, free: 392 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/0.01745, allocations: 19.97 kB / 0.7987 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.01747, allocations: 7.984 kB / 0.7987 GB, free: 364 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0002013/0.01767, allocations: 291.1 kB / 0.7989 GB, free: 76 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01767, allocations: 0 / 0.7989 GB, free: 76 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002207/0.01789, allocations: 64 kB / 0.799 GB, free: 12 kB / 0.7448 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.0001185/0.01801, allocations: 103.2 kB / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.01837, allocations: 186 kB / 0.7993 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01837, allocations: 0 / 0.7993 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.01853, allocations: 107.6 kB / 0.7994 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.01883, allocations: 73.38 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01992, allocations: 0.5728 MB / 0.8 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.8e-05/0.02, allocations: 104.1 kB / 0.8001 GB, free: 14.81 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001397/0.02014, allocations: 50.27 kB / 0.8002 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.02025, allocations: 28.5 kB / 0.8002 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of SimCode: time 1.072e-06/0.02025, allocations: 0 / 0.8002 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of Templates: time 0.006557/0.02681, allocations: 4.498 MB / 0.8046 GB, free: 10.31 MB / 0.7605 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: 5.252040503080934]