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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001087/0.001087, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.397/1.397, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 472.7 MB / 0.7452 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 69.5 kB / 0.9121 GB, free: 33.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.376, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.0037/0.3798, allocations: 2.381 MB / 1.071 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002022/0.3818, allocations: 1.406 MB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.382, allocations: 4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000601/0.3826, allocations: 194.9 kB / 1.072 GB, free: 6.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.3827, allocations: 83.33 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.3831, allocations: 115.7 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000335/0.3834, allocations: 326.7 kB / 1.073 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3836, allocations: 52.72 kB / 1.073 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000197/0.3838, allocations: 123.5 kB / 1.073 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.384, allocations: 183.4 kB / 1.073 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.594e-05/0.3841, allocations: 32 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3843, allocations: 67.97 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.3844, allocations: 127.6 kB / 1.073 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001622/0.3846, allocations: 179 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000472/0.3851, allocations: 486.8 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3851, allocations: 0 / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.3851, allocations: 0 / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.843e-06/0.3851, allocations: 0 / 1.074 GB, free: 4.637 MB / 0.8262 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.001337/0.3864, allocations: 0.7043 MB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.3865, allocations: 12.03 kB / 1.075 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009273/0.3874, allocations: 148.3 kB / 1.075 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004541/0.3879, allocations: 358.2 kB / 1.075 GB, free: 3.34 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.388, allocations: 84.17 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.169e-05/0.3881, allocations: 8.375 kB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007688/0.3888, allocations: 300.6 kB / 1.075 GB, free: 2.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3889, allocations: 4 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.3889, allocations: 4 kB / 1.075 GB, free: 2.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.3889, allocations: 4 kB / 1.075 GB, free: 2.93 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.3901, allocations: 416.4 kB / 1.076 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001707/0.3918, allocations: 0.8626 MB / 1.077 GB, free: 1.609 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000686/0.3925, allocations: 271.8 kB / 1.077 GB, free: 1.336 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005723/0.3931, allocations: 220.7 kB / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3931, allocations: 0 / 1.077 GB, free: 1.117 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.3932, allocations: 42.56 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.492e-06/0.3932, allocations: 0 / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.001847/0.395, allocations: 0.6509 MB / 1.078 GB, free: 420 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.3951, allocations: 55.34 kB / 1.078 GB, free: 352 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004753/0.3955, allocations: 425.6 kB / 1.078 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.685e-05/0.3956, allocations: 25.7 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.3957, allocations: 184 kB / 1.078 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-05/0.3958, allocations: 63.09 kB / 1.078 GB, free: 15.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.396, allocations: 45.62 kB / 1.079 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3961, allocations: 350.7 kB / 1.079 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.3967, allocations: 195.8 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.3972, allocations: 231.3 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.3983, allocations: 370.2 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3983, allocations: 0 / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001215/0.3995, allocations: 466.3 kB / 1.08 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/0.3996, allocations: 4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3996, allocations: 0 / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.3996, allocations: 4 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004916/0.4001, allocations: 59.86 kB / 1.08 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4001, allocations: 7.938 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.4005, allocations: 39.84 kB / 1.08 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4005, allocations: 8 kB / 1.08 GB, free: 13.87 MB / 0.8419 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.0001891/0.4007, allocations: 167.6 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.4008, allocations: 35.53 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.834e-05/0.4009, allocations: 43.53 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.4009, allocations: 4 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.4009, allocations: 3.938 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4009, allocations: 3.984 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005493/0.4014, allocations: 470.8 kB / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4015, allocations: 0 / 1.081 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.4019, allocations: 63.92 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.4019, allocations: 0 / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.4019, allocations: 8 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.402, allocations: 3.984 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.402, allocations: 3.938 kB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.4032, allocations: 0.5551 MB / 1.081 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.968e-05/0.4033, allocations: 120.6 kB / 1.082 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.122e-05/0.4034, allocations: 4.047 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000358/0.4038, allocations: 35.94 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.4039, allocations: 27.91 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.98e-05/0.4039, allocations: 11.98 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003239/0.4042, allocations: 303.1 kB / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4042, allocations: 0 / 1.082 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003506/0.4046, allocations: 64 kB / 1.082 GB, free: 11.88 MB / 0.8419 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.0001666/0.4048, allocations: 103.8 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.4061, allocations: 459.5 kB / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4061, allocations: 0 / 1.083 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.4067, allocations: 229.7 kB / 1.083 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.4071, allocations: 49.98 kB / 1.083 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/0.4085, allocations: 0.6811 MB / 1.084 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.4089, allocations: 0.7907 MB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002688/0.4092, allocations: 62.27 kB / 1.084 GB, free: 9.465 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001431/0.4094, allocations: 23.42 kB / 1.084 GB, free: 9.441 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.4094, allocations: 4 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of Templates: time 0.008076/0.4175, allocations: 4.255 MB / 1.089 GB, free: 5.238 MB / 0.8419 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