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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001497/0.001498, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001814/0.001814, allocations: 193.5 kB / 16.14 MB, free: 6.711 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.342/1.342, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.641/2.641, allocations: 461.8 MB / 0.7342 GB, free: 15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 69.02 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2837, allocations: 157.4 MB / 1.052 GB, free: 8.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003586/0.2874, allocations: 2.436 MB / 1.054 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.2894, allocations: 1.406 MB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.2896, allocations: 4 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005947/0.2902, allocations: 187 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.2904, allocations: 71.47 kB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2906, allocations: 95.83 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003328/0.291, allocations: 314.8 kB / 1.056 GB, free: 4.336 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2911, allocations: 56.72 kB / 1.057 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001887/0.2913, allocations: 119.5 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.2916, allocations: 183.3 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.2917, allocations: 24 kB / 1.057 GB, free: 3.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001395/0.2918, allocations: 59.97 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.2919, allocations: 103.7 kB / 1.057 GB, free: 3.801 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001721/0.2921, allocations: 171 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.2926, allocations: 470.8 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2926, allocations: 0 / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.916e-06/0.2926, allocations: 0 / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2926, allocations: 3.938 kB / 1.058 GB, free: 3.168 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.001314/0.2939, allocations: 0.7054 MB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.294, allocations: 12.03 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008633/0.2948, allocations: 148.3 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004757/0.2953, allocations: 346.2 kB / 1.059 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/0.2955, allocations: 88.17 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.706e-05/0.2955, allocations: 16.38 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007771/0.2963, allocations: 296.1 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2963, allocations: 3.938 kB / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.2964, allocations: 0 / 1.059 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.2964, allocations: 7.984 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.2975, allocations: 424.4 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/0.2992, allocations: 0.8628 MB / 1.06 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006803/0.2998, allocations: 274.4 kB / 1.061 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005311/0.3004, allocations: 216.7 kB / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.966e-05/0.3004, allocations: 0 / 1.061 GB, free: 15.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.3005, allocations: 34.55 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.3005, allocations: 4 kB / 1.061 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001786/0.3023, allocations: 0.6468 MB / 1.062 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.477e-05/0.3023, allocations: 63.28 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004473/0.3028, allocations: 421.6 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/0.3028, allocations: 33.7 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.303, allocations: 184 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.515e-05/0.3031, allocations: 59.09 kB / 1.062 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.3032, allocations: 37.7 kB / 1.062 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3033, allocations: 346.8 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005086/0.3039, allocations: 195.9 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.3044, allocations: 233.3 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000974/0.3054, allocations: 370.3 kB / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.3054, allocations: 0 / 1.063 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001128/0.3065, allocations: 464.8 kB / 1.064 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.3066, allocations: 4 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.3066, allocations: 0 / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3066, allocations: 3.984 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.3071, allocations: 59.94 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3071, allocations: 3.938 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.3075, allocations: 43.84 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.3075, allocations: 8 kB / 1.064 GB, free: 12.41 MB / 0.8262 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.0002091/0.3077, allocations: 167.3 kB / 1.064 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.866e-05/0.3078, allocations: 35.53 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.911e-05/0.3079, allocations: 39.59 kB / 1.064 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.3079, allocations: 4 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.3079, allocations: 3.938 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.3079, allocations: 3.984 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000573/0.3085, allocations: 482.8 kB / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3085, allocations: 0 / 1.065 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004181/0.3089, allocations: 67.86 kB / 1.065 GB, free: 11.56 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3089, allocations: 4 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.496e-05/0.309, allocations: 3.984 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.309, allocations: 4 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.309, allocations: 3.938 kB / 1.065 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.3102, allocations: 0.5478 MB / 1.065 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.164e-05/0.3103, allocations: 120.6 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.209e-05/0.3103, allocations: 4 kB / 1.065 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.3107, allocations: 35.95 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.3108, allocations: 27.91 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-05/0.3108, allocations: 7.984 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003349/0.3112, allocations: 307.1 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3112, allocations: 0 / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003282/0.3115, allocations: 68 kB / 1.066 GB, free: 10.4 MB / 0.8262 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.0001781/0.3117, allocations: 99.19 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.3129, allocations: 447.5 kB / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3129, allocations: 0 / 1.066 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005713/0.3134, allocations: 230 kB / 1.067 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.3139, allocations: 41.55 kB / 1.067 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.3153, allocations: 0.7531 MB / 1.067 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.3156, allocations: 0.7912 MB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.3159, allocations: 62.3 kB / 1.068 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.3161, allocations: 27.42 kB / 1.068 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of SimCode: time 4.1e-07/0.3161, allocations: 0 / 1.068 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.00782/0.3239, allocations: 4.037 MB / 1.072 GB, free: 3.922 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 -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/jenkins/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