Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0011/0.0011, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001388/0.001388, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.603/2.603, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003184, allocations: 8 kB / 0.8722 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5616/0.562, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002542/0.5646, allocations: 2.014 MB / 1.024 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001973/0.5666, allocations: 1.291 MB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.5667, allocations: 7.938 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004541/0.5672, allocations: 187 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001224/0.5673, allocations: 59.47 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.5676, allocations: 91.91 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000295/0.5679, allocations: 286.8 kB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.568, allocations: 40.7 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.5682, allocations: 115.5 kB / 1.026 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.5684, allocations: 179.4 kB / 1.027 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.053e-05/0.5685, allocations: 23.94 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001234/0.5686, allocations: 55.95 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.5687, allocations: 103.7 kB / 1.027 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.966e-05/0.5688, allocations: 85.52 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.5692, allocations: 373 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.5692, allocations: 3.984 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5692, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.5692, allocations: 0 / 1.027 GB, free: 11.14 MB / 0.7794 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.001085/0.5703, allocations: 0.6616 MB / 1.028 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.5703, allocations: 8.562 kB / 1.028 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008502/0.5712, allocations: 171.4 kB / 1.028 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.5716, allocations: 341.2 kB / 1.028 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001022/0.5717, allocations: 91.58 kB / 1.028 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.5718, allocations: 12 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007281/0.5725, allocations: 312.5 kB / 1.029 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.5725, allocations: 4 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.5725, allocations: 4 kB / 1.029 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.5726, allocations: 4 kB / 1.029 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.5737, allocations: 460.3 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.5752, allocations: 0.8707 MB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.5759, allocations: 298.3 kB / 1.03 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.5765, allocations: 236.7 kB / 1.031 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.065e-05/0.5765, allocations: 8 kB / 1.031 GB, free: 7.535 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.5765, allocations: 38.52 kB / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.5765, allocations: 0 / 1.031 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.001756/0.5783, allocations: 0.7089 MB / 1.031 GB, free: 6.773 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.5783, allocations: 55.41 kB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004619/0.5788, allocations: 425.6 kB / 1.032 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.149e-05/0.5789, allocations: 25.7 kB / 1.032 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.579, allocations: 180.1 kB / 1.032 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.186e-05/0.5791, allocations: 63.09 kB / 1.032 GB, free: 6.012 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.5791, allocations: 4 kB / 1.032 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5792, allocations: 350.8 kB / 1.032 GB, free: 5.656 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005354/0.5798, allocations: 215.9 kB / 1.033 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.5803, allocations: 252.9 kB / 1.033 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005071/0.5808, allocations: 199.9 kB / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5809, allocations: 0 / 1.033 GB, free: 4.992 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001158/0.582, allocations: 0.5018 MB / 1.033 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.5821, allocations: 11.95 kB / 1.033 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.5821, allocations: 0 / 1.033 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5821, allocations: 0 / 1.033 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.5826, allocations: 71.92 kB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.5826, allocations: 3.938 kB / 1.034 GB, free: 4.398 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.5829, allocations: 59.78 kB / 1.034 GB, free: 4.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.668e-05/0.5829, allocations: 4 kB / 1.034 GB, free: 4.336 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000185/0.5831, allocations: 169.8 kB / 1.034 GB, free: 4.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.823e-05/0.5832, allocations: 31.62 kB / 1.034 GB, free: 4.129 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.164e-05/0.5833, allocations: 47.55 kB / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5833, allocations: 0 / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5833, allocations: 0 / 1.034 GB, free: 4.078 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5833, allocations: 8.016 kB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.5838, allocations: 470.8 kB / 1.034 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.5838, allocations: 4 kB / 1.034 GB, free: 3.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004279/0.5843, allocations: 71.92 kB / 1.034 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5843, allocations: 0 / 1.034 GB, free: 3.488 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.5843, allocations: 7.953 kB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.5843, allocations: 4 kB / 1.034 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5843, allocations: 7.984 kB / 1.034 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5855, allocations: 0.5907 MB / 1.035 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.5856, allocations: 116.6 kB / 1.035 GB, free: 2.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.117e-05/0.5857, allocations: 7.984 kB / 1.035 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.586, allocations: 43.91 kB / 1.035 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/0.5861, allocations: 31.95 kB / 1.035 GB, free: 2.648 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.5862, allocations: 8 kB / 1.035 GB, free: 2.641 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003423/0.5865, allocations: 303.1 kB / 1.035 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5865, allocations: 0 / 1.035 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003337/0.5869, allocations: 60 kB / 1.035 GB, free: 2.285 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001144/0.587, allocations: 111.2 kB / 1.036 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001155/0.5882, allocations: 479.5 kB / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.5882, allocations: 0 / 1.036 GB, free: 1.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005775/0.5888, allocations: 253.5 kB / 1.036 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.5892, allocations: 53.47 kB / 1.036 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.5905, allocations: 0.7523 MB / 1.037 GB, free: 0.6211 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003698/0.5909, allocations: 0.7989 MB / 1.038 GB, free: 15.8 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002936/0.5912, allocations: 50.28 kB / 1.038 GB, free: 15.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.5913, allocations: 27.42 kB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.5914, allocations: 0 / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of Templates: time 0.007481/0.5988, allocations: 3.876 MB / 1.042 GB, free: 11.89 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches