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.001016/0.001016, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001273/0.001273, allocations: 169 kB / 24.28 MB, free: 268 kB / 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.9665/0.9665, allocations: 177.1 MB / 204.6 MB, free: 5.594 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.843/1.843, allocations: 359 MB / 0.6055 GB, free: 10.98 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.813e-06/1.813e-06, allocations: 0 / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.404e-05/2.585e-05, allocations: 5.391 kB / 0.7871 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003825/0.003851, allocations: 2.408 MB / 0.7894 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002601/0.006452, allocations: 1.434 MB / 0.7908 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001398/0.006592, allocations: 4 kB / 0.7908 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/0.007181, allocations: 183.4 kB / 0.791 GB, free: 8.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001634/0.007344, allocations: 82.75 kB / 0.7911 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.007724, allocations: 131.6 kB / 0.7912 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003963/0.00812, allocations: 348.1 kB / 0.7916 GB, free: 8.227 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.008231, allocations: 28.92 kB / 0.7916 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.008518, allocations: 203.4 kB / 0.7918 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.008697, allocations: 152.8 kB / 0.7919 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.403e-05/0.008731, allocations: 28 kB / 0.792 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.256e-05/0.008824, allocations: 71.95 kB / 0.792 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-05/0.008911, allocations: 124.1 kB / 0.7921 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 7.827e-05/0.008989, allocations: 110.2 kB / 0.7922 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.009277, allocations: 350.8 kB / 0.7926 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.009279, allocations: 0 / 0.7926 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.21e-07/0.009279, allocations: 0 / 0.7926 GB, free: 7.188 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.009284, allocations: 0 / 0.7926 GB, free: 7.188 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.0007562/0.01004, allocations: 0.7482 MB / 0.7933 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.01007, allocations: 12.72 kB / 0.7933 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005222/0.01059, allocations: 171.5 kB / 0.7935 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.01087, allocations: 282.8 kB / 0.7938 GB, free: 5.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.01097, allocations: 192.1 kB / 0.7939 GB, free: 5.707 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.011, allocations: 16.38 kB / 0.794 GB, free: 5.691 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.01132, allocations: 203.2 kB / 0.7942 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.01132, allocations: 4.188 kB / 0.7942 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.162e-05/0.01135, allocations: 8.969 kB / 0.7942 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.01135, allocations: 4 kB / 0.7942 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.0116, allocations: 142.3 kB / 0.7943 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008449/0.01245, allocations: 0.6947 MB / 0.795 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.01271, allocations: 149.2 kB / 0.7951 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.01283, allocations: 83.66 kB / 0.7952 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.26e-05/0.01286, allocations: 6.094 kB / 0.7952 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/0.01288, allocations: 37.39 kB / 0.7952 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.01288, allocations: 0 / 0.7952 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0005123/0.01339, allocations: 288.3 kB / 0.7955 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.01342, allocations: 61.25 kB / 0.7956 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.01371, allocations: 450.7 kB / 0.796 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.01374, allocations: 25.7 kB / 0.796 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.01386, allocations: 247.3 kB / 0.7963 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.0139, allocations: 59.48 kB / 0.7963 GB, free: 3.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-05/0.01397, allocations: 43.95 kB / 0.7964 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01411, allocations: 0.543 MB / 0.7969 GB, free: 2.559 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.01423, allocations: 61.47 kB / 0.797 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001702/0.0144, allocations: 189.6 kB / 0.7971 GB, free: 2.285 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002103/0.01461, allocations: 119.6 kB / 0.7973 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01461, allocations: 0 / 0.7973 GB, free: 2.164 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003964/0.01501, allocations: 219.5 kB / 0.7975 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.01502, allocations: 5.469 kB / 0.7975 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.01503, allocations: 0 / 0.7975 GB, free: 1.941 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.01504, allocations: 4 kB / 0.7975 GB, free: 1.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002312/0.01527, allocations: 48.95 kB / 0.7975 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.01528, allocations: 4 kB / 0.7975 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.0154, allocations: 28.98 kB / 0.7975 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.01541, allocations: 15.92 kB / 0.7976 GB, free: 1.844 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.0001017/0.01551, allocations: 169.6 kB / 0.7977 GB, free: 1.668 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.01557, allocations: 43.77 kB / 0.7978 GB, free: 1.625 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.959e-05/0.01561, allocations: 35.45 kB / 0.7978 GB, free: 1.582 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01562, allocations: 5.25 kB / 0.7978 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01562, allocations: 0 / 0.7978 GB, free: 1.578 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01562, allocations: 3.984 kB / 0.7978 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.01592, allocations: 344.1 kB / 0.7981 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01592, allocations: 0 / 0.7981 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.01608, allocations: 51.94 kB / 0.7982 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.01609, allocations: 0 / 0.7982 GB, free: 1.16 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.0161, allocations: 8.938 kB / 0.7982 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01611, allocations: 7.938 kB / 0.7982 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01611, allocations: 0 / 0.7982 GB, free: 1.145 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.01649, allocations: 376.7 kB / 0.7986 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.01652, allocations: 39.7 kB / 0.7986 GB, free: 0.7188 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.01656, allocations: 4 kB / 0.7986 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.01669, allocations: 19.97 kB / 0.7986 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.996e-05/0.01676, allocations: 27.95 kB / 0.7986 GB, free: 0.668 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.01677, allocations: 7.984 kB / 0.7987 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00018/0.01695, allocations: 283.1 kB / 0.7989 GB, free: 396 kB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01695, allocations: 0 / 0.7989 GB, free: 396 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000219/0.01717, allocations: 60 kB / 0.799 GB, free: 336 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 9.392e-05/0.01726, allocations: 115.2 kB / 0.7991 GB, free: 212 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003219/0.01759, allocations: 181.9 kB / 0.7993 GB, free: 28 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.01759, allocations: 3.938 kB / 0.7993 GB, free: 24 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001587/0.01775, allocations: 103.5 kB / 0.7994 GB, free: 15.92 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.01802, allocations: 81.31 kB / 0.7994 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.01895, allocations: 0.5728 MB / 0.8 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.679e-05/0.01901, allocations: 104.2 kB / 0.8001 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001508/0.01916, allocations: 50.3 kB / 0.8002 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.01927, allocations: 28.48 kB / 0.8002 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of SimCode: time 8.41e-07/0.01927, allocations: 4 kB / 0.8002 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of Templates: time 0.006108/0.02538, allocations: 4.494 MB / 0.8046 GB, free: 10.61 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.144700581906363]