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.001432/0.001432, allocations: 87.59 kB / 20.45 MB, free: 4.117 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.00118/0.00118, allocations: 169.3 kB / 23.82 MB, free: 0.7461 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.9368/0.9368, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.769/1.769, allocations: 359 MB / 0.6052 GB, free: 11 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 3.266e-06/3.266e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.492e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003148/0.003183, allocations: 2.425 MB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.005104, allocations: 1.433 MB / 0.7909 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001422/0.005246, allocations: 7.938 kB / 0.7909 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005419/0.005788, allocations: 182.8 kB / 0.791 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.0059, allocations: 83.94 kB / 0.7911 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.006262, allocations: 133.3 kB / 0.7912 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003372/0.006599, allocations: 343.5 kB / 0.7916 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.006723, allocations: 32.91 kB / 0.7916 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000291/0.007014, allocations: 196.5 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002517/0.007266, allocations: 168.9 kB / 0.792 GB, free: 7.512 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.98e-05/0.007316, allocations: 32 kB / 0.792 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.00744, allocations: 67.97 kB / 0.792 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.007545, allocations: 123.6 kB / 0.7922 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000124/0.007669, allocations: 116.5 kB / 0.7923 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/0.008089, allocations: 338.9 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.008094, allocations: 1.094 kB / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.854e-06/0.008096, allocations: 0 / 0.7926 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.008105, allocations: 4 kB / 0.7926 GB, free: 6.844 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.0009404/0.009045, allocations: 0.7524 MB / 0.7933 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.00909, allocations: 8.719 kB / 0.7933 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006673/0.009758, allocations: 167.4 kB / 0.7935 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.01016, allocations: 284 kB / 0.7938 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.0103, allocations: 191 kB / 0.794 GB, free: 5.367 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.01033, allocations: 16.36 kB / 0.794 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.01071, allocations: 207.5 kB / 0.7942 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.01072, allocations: 192 / 0.7942 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.01075, allocations: 9.047 kB / 0.7942 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.01076, allocations: 4 kB / 0.7942 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.01101, allocations: 141.8 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.01204, allocations: 0.687 MB / 0.795 GB, free: 4.273 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.01241, allocations: 149.2 kB / 0.7951 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.01254, allocations: 86.66 kB / 0.7952 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.01257, allocations: 4 kB / 0.7952 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.0126, allocations: 41.33 kB / 0.7953 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.826e-06/0.01261, allocations: 3.984 kB / 0.7953 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006271/0.01323, allocations: 287.6 kB / 0.7955 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.01328, allocations: 51.41 kB / 0.7956 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.01375, allocations: 462.7 kB / 0.796 GB, free: 3.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.328e-05/0.01378, allocations: 25.7 kB / 0.7961 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.01396, allocations: 247.9 kB / 0.7963 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.01404, allocations: 63.97 kB / 0.7963 GB, free: 2.816 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.01415, allocations: 43.36 kB / 0.7964 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.01435, allocations: 0.5396 MB / 0.7969 GB, free: 2.215 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.01452, allocations: 61.22 kB / 0.797 GB, free: 2.156 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.01476, allocations: 194.1 kB / 0.7972 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002938/0.01505, allocations: 122.3 kB / 0.7973 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.01506, allocations: 1.438 kB / 0.7973 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004516/0.01551, allocations: 219.6 kB / 0.7975 GB, free: 1.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.01552, allocations: 4 kB / 0.7975 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01553, allocations: 0 / 0.7975 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.01555, allocations: 0 / 0.7975 GB, free: 1.594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002364/0.01578, allocations: 51.89 kB / 0.7975 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01579, allocations: 0 / 0.7975 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002474/0.01604, allocations: 35.86 kB / 0.7976 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.01606, allocations: 3.984 kB / 0.7976 GB, free: 1.504 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.0001133/0.01617, allocations: 169.4 kB / 0.7977 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.143e-05/0.01622, allocations: 39.77 kB / 0.7978 GB, free: 1.289 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.01627, allocations: 40.55 kB / 0.7978 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01627, allocations: 0 / 0.7978 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.01628, allocations: 0 / 0.7978 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.01629, allocations: 5.047 kB / 0.7978 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.01661, allocations: 358.1 kB / 0.7982 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.01662, allocations: 0 / 0.7982 GB, free: 0.8594 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.01678, allocations: 53.06 kB / 0.7982 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.01678, allocations: 0 / 0.7982 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.943e-05/0.0168, allocations: 4.969 kB / 0.7982 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.0168, allocations: 0 / 0.7982 GB, free: 0.8047 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01681, allocations: 4.5 kB / 0.7982 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003947/0.0172, allocations: 377.5 kB / 0.7986 GB, free: 424 kB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.01724, allocations: 35.7 kB / 0.7986 GB, free: 388 kB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.01727, allocations: 4 kB / 0.7986 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.01739, allocations: 27.97 kB / 0.7986 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.311e-05/0.01749, allocations: 19.95 kB / 0.7987 GB, free: 336 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.01751, allocations: 12 kB / 0.7987 GB, free: 324 kB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001947/0.0177, allocations: 287.1 kB / 0.799 GB, free: 40 kB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.0177, allocations: 0 / 0.799 GB, free: 40 kB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002326/0.01793, allocations: 64.05 kB / 0.799 GB, free: 15.97 MB / 0.7605 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.0001143/0.01805, allocations: 103.2 kB / 0.7991 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.0184, allocations: 185.8 kB / 0.7993 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.0184, allocations: 0 / 0.7993 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.01856, allocations: 107.6 kB / 0.7994 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.01886, allocations: 83.38 kB / 0.7995 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/0.01991, allocations: 0.565 MB / 0.8 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.076e-05/0.01998, allocations: 108.2 kB / 0.8001 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001512/0.02013, allocations: 54.3 kB / 0.8002 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.02025, allocations: 24.48 kB / 0.8002 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of SimCode: time 4.21e-07/0.02025, allocations: 0 / 0.8002 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of Templates: time 0.00693/0.02718, allocations: 4.694 MB / 0.8048 GB, free: 10.08 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: 4.985882547218353]