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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001521/0.001528, allocations: 104.3 kB / 16.36 MB, free: 5.824 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.001739/0.001739, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.28 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2632/0.2645, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003535/0.2681, allocations: 2.395 MB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.2701, allocations: 1.391 MB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.2703, allocations: 7.938 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006278/0.271, allocations: 206.9 kB / 1.031 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001517/0.2712, allocations: 63.36 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003782/0.2715, allocations: 123.7 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.2719, allocations: 334.7 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.2721, allocations: 52.7 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.2723, allocations: 123.5 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002544/0.2725, allocations: 195.3 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.806e-05/0.2726, allocations: 32 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.2727, allocations: 67.97 kB / 1.032 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.2729, allocations: 115.7 kB / 1.032 GB, free: 12.93 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000169/0.2731, allocations: 187 kB / 1.032 GB, free: 12.75 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004657/0.2735, allocations: 490.4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2736, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2736, allocations: 0 / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2736, allocations: 3.938 kB / 1.032 GB, free: 12.27 MB / 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.001194/0.2748, allocations: 0.7043 MB / 1.033 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2748, allocations: 8.031 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008075/0.2756, allocations: 140.3 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.2761, allocations: 358.2 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.2762, allocations: 88.17 kB / 1.034 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.192e-05/0.2763, allocations: 12.38 kB / 1.034 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006824/0.277, allocations: 296.8 kB / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.277, allocations: 0 / 1.034 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.277, allocations: 8 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.277, allocations: 4 kB / 1.034 GB, free: 10.57 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.2781, allocations: 420.3 kB / 1.034 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00154/0.2796, allocations: 0.8513 MB / 1.035 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006344/0.2803, allocations: 274.3 kB / 1.035 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005002/0.2808, allocations: 216.7 kB / 1.036 GB, free: 8.766 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.2808, allocations: 3.984 kB / 1.036 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.2809, allocations: 34.55 kB / 1.036 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.2809, allocations: 0 / 1.036 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.001655/0.2825, allocations: 0.6478 MB / 1.036 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.2826, allocations: 63.28 kB / 1.036 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004163/0.283, allocations: 425.5 kB / 1.037 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.584e-05/0.283, allocations: 33.7 kB / 1.037 GB, free: 7.531 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.2832, allocations: 176 kB / 1.037 GB, free: 7.355 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.2832, allocations: 59.11 kB / 1.037 GB, free: 7.297 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.2833, allocations: 41.69 kB / 1.037 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.2835, allocations: 346.8 kB / 1.037 GB, free: 6.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.284, allocations: 199.9 kB / 1.038 GB, free: 6.707 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005342/0.2845, allocations: 233.6 kB / 1.038 GB, free: 6.469 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000927/0.2855, allocations: 372.5 kB / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2855, allocations: 0 / 1.038 GB, free: 6.102 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001098/0.2866, allocations: 463.2 kB / 1.039 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2866, allocations: 4 kB / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2866, allocations: 0 / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2866, allocations: 0 / 1.039 GB, free: 5.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004544/0.2871, allocations: 63.92 kB / 1.039 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.2871, allocations: 3.938 kB / 1.039 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2874, allocations: 47.84 kB / 1.039 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-05/0.2875, allocations: 4 kB / 1.039 GB, free: 5.523 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.0001674/0.2876, allocations: 165.8 kB / 1.039 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.871e-05/0.2877, allocations: 39.47 kB / 1.039 GB, free: 5.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.2878, allocations: 39.59 kB / 1.039 GB, free: 5.27 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.2878, allocations: 4 kB / 1.039 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2878, allocations: 7.875 kB / 1.039 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2878, allocations: 3.984 kB / 1.039 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.2883, allocations: 478.9 kB / 1.039 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2883, allocations: 0 / 1.039 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004169/0.2888, allocations: 59.92 kB / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2888, allocations: 0 / 1.039 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.168e-05/0.2888, allocations: 7.984 kB / 1.039 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2888, allocations: 4 kB / 1.039 GB, free: 4.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.2888, allocations: 3.938 kB / 1.039 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2899, allocations: 0.5456 MB / 1.04 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.944e-05/0.29, allocations: 120.6 kB / 1.04 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.632e-05/0.2901, allocations: 4 kB / 1.04 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.2904, allocations: 35.95 kB / 1.04 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.2905, allocations: 27.91 kB / 1.04 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.887e-05/0.2906, allocations: 7.984 kB / 1.04 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002991/0.2909, allocations: 307.1 kB / 1.04 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2909, allocations: 0 / 1.04 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003157/0.2912, allocations: 60 kB / 1.041 GB, free: 3.527 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.0001253/0.2913, allocations: 111.2 kB / 1.041 GB, free: 3.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001119/0.2925, allocations: 434 kB / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2925, allocations: 0 / 1.041 GB, free: 2.988 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005414/0.293, allocations: 235.8 kB / 1.041 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.2934, allocations: 45.48 kB / 1.041 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2947, allocations: 0.6809 MB / 1.042 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.295, allocations: 0.7909 MB / 1.043 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000236/0.2952, allocations: 62.3 kB / 1.043 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.2954, allocations: 27.42 kB / 1.043 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of SimCode: time 2.71e-07/0.2954, allocations: 4 kB / 1.043 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of Templates: time 0.007269/0.3027, allocations: 4.255 MB / 1.047 GB, free: 12.9 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 -s gbode -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/jenkins1/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