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.007552/0.007552, allocations: 103.9 kB / 15.73 MB, free: 6.445 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: 191.2 kB / 16.67 MB, free: 6.355 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.394/1.394, allocations: 222.9 MB / 240.4 MB, free: 4.277 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.328/2.328, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.88 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.271/0.2723, 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.003197/0.2755, allocations: 2.375 MB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.2772, allocations: 1.406 MB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.2774, allocations: 8 kB / 1.092 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005145/0.2779, allocations: 198.9 kB / 1.092 GB, free: 13.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.278, allocations: 75.3 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.2783, allocations: 123.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000314/0.2786, allocations: 330.7 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.2788, allocations: 48.72 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.2789, allocations: 131.5 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.2792, allocations: 183.4 kB / 1.093 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.995e-05/0.2793, allocations: 32 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.2794, allocations: 71.97 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.2795, allocations: 119.6 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.2797, allocations: 179 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004157/0.2801, allocations: 486.4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2801, allocations: 3.938 kB / 1.093 GB, free: 11.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2801, allocations: 8 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.2801, 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.001163/0.2813, allocations: 0.7023 MB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.2813, allocations: 8.031 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008161/0.2822, allocations: 144.3 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.2826, allocations: 358.2 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2827, allocations: 88.17 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.2827, allocations: 8.375 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006915/0.2834, allocations: 295.4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2835, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2835, allocations: 7.938 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.2835, allocations: 7.984 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.2846, allocations: 412.4 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001473/0.2861, allocations: 0.8672 MB / 1.096 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006189/0.2867, allocations: 271.8 kB / 1.097 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.2872, allocations: 212.7 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.2872, allocations: 7.938 kB / 1.097 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.2873, allocations: 38.55 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.512e-06/0.2873, allocations: 0 / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.001661/0.2889, allocations: 0.6434 MB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.289, allocations: 63.25 kB / 1.098 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.2894, allocations: 429.6 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.252e-05/0.2894, allocations: 25.7 kB / 1.098 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001231/0.2896, allocations: 172.1 kB / 1.098 GB, free: 6.816 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.379e-05/0.2896, allocations: 63.09 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.2898, allocations: 41.7 kB / 1.098 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.2899, allocations: 346.8 kB / 1.099 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005149/0.2904, allocations: 191.9 kB / 1.099 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.2909, allocations: 235.2 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009458/0.2919, allocations: 374.4 kB / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2919, allocations: 0 / 1.099 GB, free: 5.562 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001105/0.293, allocations: 459.5 kB / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.293, allocations: 8 kB / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.293, allocations: 0 / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2931, allocations: 0 / 1.1 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004498/0.2935, allocations: 63.86 kB / 1.1 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2935, allocations: 11.94 kB / 1.1 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.2939, allocations: 47.78 kB / 1.1 GB, free: 4.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.2939, allocations: 4 kB / 1.1 GB, free: 4.977 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.0001674/0.2941, allocations: 165.8 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.774e-05/0.2941, allocations: 35.53 kB / 1.1 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.2942, allocations: 39.59 kB / 1.1 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.2942, allocations: 4 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/0.2942, allocations: 11.88 kB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2942, allocations: 7.922 kB / 1.1 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.2947, allocations: 466.9 kB / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.2947, allocations: 0 / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/0.2951, allocations: 59.92 kB / 1.101 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.2952, allocations: 0 / 1.101 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.976e-05/0.2952, allocations: 7.984 kB / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2952, allocations: 0 / 1.101 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.2952, allocations: 11.94 kB / 1.101 GB, free: 4.121 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2963, allocations: 0.5495 MB / 1.101 GB, free: 3.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.2964, allocations: 128.6 kB / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.2965, allocations: 0 / 1.101 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003269/0.2968, allocations: 31.95 kB / 1.101 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.802e-05/0.2969, allocations: 27.91 kB / 1.101 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.297, allocations: 11.98 kB / 1.101 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002938/0.2973, allocations: 303.1 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2973, allocations: 0 / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003257/0.2976, allocations: 60 kB / 1.102 GB, free: 2.984 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.0001317/0.2977, allocations: 111.2 kB / 1.102 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001126/0.2989, allocations: 429 kB / 1.102 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2989, allocations: 4 kB / 1.102 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005607/0.2995, allocations: 235.8 kB / 1.102 GB, free: 2.211 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004052/0.2999, allocations: 53.56 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.3012, allocations: 0.6741 MB / 1.103 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.3017, allocations: 0.7909 MB / 1.104 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002563/0.3019, allocations: 62.27 kB / 1.104 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.3021, allocations: 27.42 kB / 1.104 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of SimCode: time 3.1e-07/0.3021, allocations: 3.938 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of Templates: time 0.008293/0.3104, allocations: 4.396 MB / 1.108 GB, free: 12.21 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