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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009977/0.0009977, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007451/0.007451, allocations: 171.2 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.72/2.72, allocations: 462.7 MB / 0.7364 GB, free: 308 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003799/0.00038, allocations: 8.562 kB / 0.9028 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 159.6 MB / 1.059 GB, free: 5.516 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002914/0.3408, allocations: 2.081 MB / 1.061 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001995/0.3428, allocations: 1.382 MB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.343, allocations: 4 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005761/0.3436, allocations: 195 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001357/0.3437, allocations: 55.48 kB / 1.062 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003102/0.344, allocations: 111.8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003224/0.3444, allocations: 318.7 kB / 1.063 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.3445, allocations: 48.7 kB / 1.063 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.3447, allocations: 119.5 kB / 1.063 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.345, allocations: 175.3 kB / 1.063 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.342e-05/0.345, allocations: 20 kB / 1.063 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.3452, allocations: 51.97 kB / 1.063 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.3453, allocations: 103.7 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001757/0.3455, allocations: 196.7 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000448/0.3459, allocations: 466.6 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.346, allocations: 3.938 kB / 1.064 GB, free: 196 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.234e-06/0.346, allocations: 4 kB / 1.064 GB, free: 192 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.346, allocations: 0 / 1.064 GB, free: 192 kB / 0.8106 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.00116/0.3471, allocations: 0.6541 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.3472, allocations: 12.03 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009484/0.3482, allocations: 172.3 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004725/0.3487, allocations: 358.2 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.3488, allocations: 84.19 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.3488, allocations: 20.31 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000801/0.3497, allocations: 320.1 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.3497, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.526e-05/0.3497, allocations: 4 kB / 1.065 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.3497, allocations: 7.938 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.3509, allocations: 460.4 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.3526, allocations: 0.8707 MB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.3533, allocations: 286.4 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005903/0.3539, allocations: 244.7 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.018e-05/0.354, allocations: 0 / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.354, allocations: 38.56 kB / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.354, allocations: 0 / 1.067 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001953/0.356, allocations: 0.7093 MB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/0.356, allocations: 67.23 kB / 1.068 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.3565, allocations: 421.7 kB / 1.068 GB, free: 11.31 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.3566, allocations: 25.7 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.3567, allocations: 188 kB / 1.069 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.3568, allocations: 55.11 kB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/0.3568, allocations: 29.7 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.357, allocations: 346.8 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000598/0.3576, allocations: 215.9 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006099/0.3582, allocations: 249.3 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.3593, allocations: 420.5 kB / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3594, allocations: 0 / 1.07 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001366/0.3607, allocations: 0.4943 MB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3608, allocations: 4 kB / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.3608, allocations: 48 / 1.07 GB, free: 9.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.3608, allocations: 3.984 kB / 1.07 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005095/0.3613, allocations: 83.86 kB / 1.07 GB, free: 9.184 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3613, allocations: 7.922 kB / 1.07 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.3617, allocations: 51.86 kB / 1.07 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.996e-05/0.3617, allocations: 7.984 kB / 1.07 GB, free: 9.117 MB / 0.8262 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.0002192/0.362, allocations: 163.3 kB / 1.071 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.468e-05/0.362, allocations: 39.47 kB / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.859e-05/0.3621, allocations: 39.59 kB / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.3621, allocations: 0 / 1.071 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.3622, allocations: 7.938 kB / 1.071 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3622, allocations: 0 / 1.071 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005795/0.3628, allocations: 490.8 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3628, allocations: 0 / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.3632, allocations: 71.86 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.3633, allocations: 0 / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.3633, allocations: 11.94 kB / 1.071 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3633, allocations: 0 / 1.071 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3633, allocations: 7.938 kB / 1.071 GB, free: 8.242 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/0.3646, allocations: 0.59 MB / 1.072 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.656e-05/0.3647, allocations: 116.6 kB / 1.072 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.106e-05/0.3648, allocations: 4 kB / 1.072 GB, free: 7.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003811/0.3652, allocations: 51.94 kB / 1.072 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.999e-05/0.3653, allocations: 27.84 kB / 1.072 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.629e-05/0.3653, allocations: 11.98 kB / 1.072 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003171/0.3656, allocations: 307.1 kB / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3657, allocations: 0 / 1.072 GB, free: 7.109 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003289/0.366, allocations: 64 kB / 1.072 GB, free: 7.047 MB / 0.8262 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.0001539/0.3662, allocations: 95.25 kB / 1.073 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001298/0.3675, allocations: 489.9 kB / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3675, allocations: 0 / 1.073 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006137/0.3681, allocations: 255.8 kB / 1.073 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.3685, allocations: 41.55 kB / 1.073 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.37, allocations: 0.7914 MB / 1.074 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3703, allocations: 0.795 MB / 1.075 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.3706, allocations: 62.19 kB / 1.075 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3708, allocations: 27.42 kB / 1.075 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of SimCode: time 4.01e-07/0.3708, allocations: 4 kB / 1.075 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of Templates: time 0.008014/0.3788, allocations: 3.964 MB / 1.079 GB, free: 0.5312 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches