Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008488/0.008488, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.002769/0.002769, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.431/2.431, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001235, allocations: 66.58 kB / 0.9508 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 140.4 MB / 1.088 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003502/0.2657, allocations: 2.384 MB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.2677, allocations: 1.406 MB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001508/0.2679, allocations: 0 / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005605/0.2685, allocations: 202.9 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.2686, allocations: 75.34 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.269, allocations: 123.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.2694, allocations: 326.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2695, allocations: 56.7 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.2697, allocations: 123.5 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.27, allocations: 187.3 kB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.27, allocations: 32 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2702, allocations: 71.97 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001206/0.2703, allocations: 123.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001497/0.2705, allocations: 175 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004724/0.2709, allocations: 486.5 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.271, allocations: 0 / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.243e-06/0.271, allocations: 7.938 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.271, allocations: 0 / 1.094 GB, free: 11.73 MB / 0.8575 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.001172/0.2722, allocations: 0.7043 MB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2722, allocations: 15.97 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008129/0.273, allocations: 144.3 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.2734, allocations: 354.2 kB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.2736, allocations: 88.16 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.2736, allocations: 12.38 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.2743, allocations: 303.4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.2743, allocations: 0 / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.2743, allocations: 4 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.2744, allocations: 4 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.2754, allocations: 412.4 kB / 1.095 GB, free: 9.609 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.2769, allocations: 0.8594 MB / 1.096 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006203/0.2775, allocations: 274.4 kB / 1.097 GB, free: 8.426 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005007/0.278, allocations: 212.7 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.545e-05/0.2781, allocations: 3.938 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2781, allocations: 38.56 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.142e-06/0.2781, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001677/0.2798, allocations: 0.6508 MB / 1.097 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.2799, allocations: 63.25 kB / 1.098 GB, free: 7.434 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004167/0.2803, allocations: 425.6 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2803, allocations: 29.7 kB / 1.098 GB, free: 6.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.2805, allocations: 172.1 kB / 1.098 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.018e-05/0.2805, allocations: 63.09 kB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.2806, allocations: 41.69 kB / 1.098 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2808, allocations: 346.8 kB / 1.099 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000504/0.2813, allocations: 195.9 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005216/0.2818, allocations: 229.3 kB / 1.099 GB, free: 5.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00095/0.2828, allocations: 374.8 kB / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2828, allocations: 0 / 1.099 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001096/0.2839, allocations: 464.9 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.2839, allocations: 4 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.2839, allocations: 4 kB / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2839, allocations: 0 / 1.1 GB, free: 5.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004403/0.2844, allocations: 63.92 kB / 1.1 GB, free: 5.023 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2844, allocations: 7.875 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003098/0.2847, allocations: 51.78 kB / 1.1 GB, free: 4.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.2847, allocations: 0 / 1.1 GB, free: 4.965 MB / 0.8575 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.0001662/0.2849, allocations: 167.8 kB / 1.1 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.285, allocations: 35.53 kB / 1.1 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.2851, allocations: 43.59 kB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2851, allocations: 4 kB / 1.1 GB, free: 4.707 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2851, allocations: 3.938 kB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.2851, allocations: 3.984 kB / 1.1 GB, free: 4.699 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.2856, allocations: 466.9 kB / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.2856, allocations: 0 / 1.101 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004113/0.286, allocations: 63.86 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.2861, allocations: 0 / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.2861, allocations: 8 kB / 1.101 GB, free: 4.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.2861, allocations: 3.984 kB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2861, allocations: 7.938 kB / 1.101 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.2873, allocations: 0.5477 MB / 1.101 GB, free: 3.551 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.2874, allocations: 124.6 kB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.05e-05/0.2875, allocations: 4 kB / 1.101 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003275/0.2878, allocations: 31.95 kB / 1.101 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.961e-05/0.2879, allocations: 23.91 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/0.288, allocations: 12.03 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003134/0.2883, allocations: 307.1 kB / 1.102 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2883, allocations: 3.938 kB / 1.102 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003372/0.2886, allocations: 64 kB / 1.102 GB, free: 2.973 MB / 0.8575 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.0001323/0.2888, allocations: 111.2 kB / 1.102 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.2899, allocations: 435.5 kB / 1.102 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2899, allocations: 0 / 1.102 GB, free: 2.426 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005475/0.2905, allocations: 231.8 kB / 1.102 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004104/0.2909, allocations: 51.11 kB / 1.103 GB, free: 2.148 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.2923, allocations: 0.6693 MB / 1.103 GB, free: 1.453 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.2927, allocations: 0.7909 MB / 1.104 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.293, allocations: 58.27 kB / 1.104 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.2931, allocations: 31.42 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of SimCode: time 1.974e-06/0.2932, allocations: 0 / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of Templates: time 0.008269/0.3014, allocations: 4.292 MB / 1.108 GB, free: 12.31 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches