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.001385/0.001385, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001585/0.001585, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.41/2.41, allocations: 437.1 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001405, allocations: 56 kB / 0.8707 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2741, allocations: 151.6 MB / 1.019 GB, free: 9.797 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003708/0.2778, allocations: 2.383 MB / 1.021 GB, free: 7.395 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.2799, allocations: 1.399 MB / 1.022 GB, free: 5.984 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.28, allocations: 4 kB / 1.022 GB, free: 5.98 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000561/0.2806, allocations: 198.9 kB / 1.023 GB, free: 5.785 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.2808, allocations: 79.33 kB / 1.023 GB, free: 5.707 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003513/0.2812, allocations: 119.7 kB / 1.023 GB, free: 5.59 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003542/0.2816, allocations: 330.7 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.2817, allocations: 56.7 kB / 1.023 GB, free: 5.211 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.2819, allocations: 119.6 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.2821, allocations: 187.4 kB / 1.024 GB, free: 4.91 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.2822, allocations: 32 kB / 1.024 GB, free: 4.879 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2823, allocations: 67.97 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000128/0.2825, allocations: 135.5 kB / 1.024 GB, free: 4.68 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001555/0.2826, allocations: 167.1 kB / 1.024 GB, free: 4.516 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004501/0.2831, allocations: 490.5 kB / 1.024 GB, free: 4.035 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2831, allocations: 4 kB / 1.024 GB, free: 4.031 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2831, allocations: 3.938 kB / 1.024 GB, free: 4.027 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2831, allocations: 0 / 1.024 GB, free: 4.027 MB / 0.795 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.001211/0.2843, allocations: 0.7082 MB / 1.025 GB, free: 3.27 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2844, allocations: 12.03 kB / 1.025 GB, free: 3.258 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008195/0.2852, allocations: 140.3 kB / 1.025 GB, free: 3.121 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004481/0.2857, allocations: 358.2 kB / 1.026 GB, free: 2.73 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.2858, allocations: 80.19 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.2858, allocations: 16.38 kB / 1.026 GB, free: 2.625 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.2865, allocations: 308.3 kB / 1.026 GB, free: 2.32 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.2866, allocations: 3.938 kB / 1.026 GB, free: 2.316 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.2866, allocations: 4 kB / 1.026 GB, free: 2.312 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2866, allocations: 4 kB / 1.026 GB, free: 2.309 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001039/0.2877, allocations: 420.4 kB / 1.026 GB, free: 1.898 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001572/0.2892, allocations: 0.8511 MB / 1.027 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006267/0.2899, allocations: 274.4 kB / 1.027 GB, free: 0.7188 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.2904, allocations: 216.7 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.2905, allocations: 7.984 kB / 1.028 GB, free: 0.4961 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.2905, allocations: 34.56 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.2905, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.795 GB Notification: Performance of matching and sorting (n=18): time 0.001641/0.2922, allocations: 0.6478 MB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.2922, allocations: 55.34 kB / 1.028 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.2926, allocations: 425.6 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.733e-05/0.2927, allocations: 33.7 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2928, allocations: 183.9 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.2929, allocations: 59.09 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.293, allocations: 41.69 kB / 1.029 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2931, allocations: 350.8 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.2936, allocations: 195.9 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/0.2942, allocations: 223.3 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000933/0.2951, allocations: 367.4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2951, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001087/0.2962, allocations: 472.8 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2962, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.2962, allocations: 4 kB / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.2963, allocations: 0 / 1.031 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.2967, allocations: 63.92 kB / 1.031 GB, free: 13.31 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2967, allocations: 3.938 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003053/0.297, allocations: 39.86 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.2971, allocations: 3.984 kB / 1.031 GB, free: 13.26 MB / 0.8106 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.0001675/0.2973, allocations: 169.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.131e-05/0.2973, allocations: 35.53 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.199e-05/0.2974, allocations: 47.59 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.2974, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.2974, allocations: 3.938 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2974, allocations: 0 / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.2979, allocations: 474.8 kB / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.298, allocations: 0 / 1.031 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004139/0.2984, allocations: 67.86 kB / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.2984, allocations: 0 / 1.031 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.2984, allocations: 4 kB / 1.032 GB, free: 12.42 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2984, allocations: 4 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.2984, allocations: 3.938 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.2996, allocations: 0.5559 MB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.388e-05/0.2997, allocations: 112.6 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.2997, allocations: 12 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.3001, allocations: 31.94 kB / 1.032 GB, free: 11.67 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3002, allocations: 31.84 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.3002, allocations: 4 kB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003116/0.3005, allocations: 307.1 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3005, allocations: 0 / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003211/0.3009, allocations: 72 kB / 1.033 GB, free: 11.26 MB / 0.8106 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.0001381/0.301, allocations: 103.2 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.3021, allocations: 439.5 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3021, allocations: 0 / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.3027, allocations: 223.8 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.3031, allocations: 49.53 kB / 1.033 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.3045, allocations: 0.668 MB / 1.034 GB, free: 9.758 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.3049, allocations: 0.7987 MB / 1.035 GB, free: 8.934 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002557/0.3052, allocations: 62.3 kB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.3053, allocations: 27.42 kB / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of SimCode: time 1.834e-06/0.3053, allocations: 0 / 1.035 GB, free: 8.848 MB / 0.8106 GB Notification: Performance of Templates: time 0.00823/0.3136, allocations: 4.267 MB / 1.039 GB, free: 4.633 MB / 0.8106 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 -s gbode -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/jenkins1/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