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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001747/0.001747, allocations: 78.95 kB / 19.76 MB, free: 2.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 159.2 kB / 23.01 MB, free: 4.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.827/2.827, allocations: 394.2 MB / 0.6386 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|equFit.QLoa_flow|equFit.QSou_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 63.89 kB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8306/0.8327, allocations: 181.8 MB / 1.187 GB, free: 16.09 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.003036/0.8358, allocations: 2.306 MB / 1.189 GB, free: 14.53 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.8376, allocations: 1.338 MB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.8377, allocations: 11.53 kB / 1.19 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0005593/0.8382, allocations: 178.7 kB / 1.19 GB, free: 13.54 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.8384, allocations: 76.75 kB / 1.19 GB, free: 13.49 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003332/0.8387, allocations: 144.6 kB / 1.191 GB, free: 13.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003299/0.839, allocations: 323.5 kB / 1.191 GB, free: 13.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.8391, allocations: 33.3 kB / 1.191 GB, free: 13.24 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002222/0.8394, allocations: 146.2 kB / 1.191 GB, free: 13.18 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.8396, allocations: 167.9 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 5.665e-05/0.8397, allocations: 31.12 kB / 1.191 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.8398, allocations: 72.36 kB / 1.191 GB, free: 13.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.84, allocations: 124.8 kB / 1.191 GB, free: 13.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.8401, allocations: 142.7 kB / 1.192 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005384/0.8406, allocations: 0.4984 MB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.8406, allocations: 5.188 kB / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8406, allocations: 0 / 1.192 GB, free: 12.77 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.8406, allocations: 0 / 1.192 GB, free: 12.77 MB / 1.076 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.001154/0.8418, allocations: 0.6465 MB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.8418, allocations: 9.812 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.843, allocations: 176.6 kB / 1.193 GB, free: 12.27 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004155/0.8434, allocations: 306.1 kB / 1.193 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.8436, allocations: 196.5 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.249e-05/0.8436, allocations: 12.97 kB / 1.193 GB, free: 11.84 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000735/0.8443, allocations: 298 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.8443, allocations: 1.062 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.986e-05/0.8444, allocations: 5.188 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.8444, allocations: 2.25 kB / 1.194 GB, free: 11.72 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.8455, allocations: 423 kB / 1.194 GB, free: 11.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.847, allocations: 0.7274 MB / 1.195 GB, free: 11.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00066/0.8476, allocations: 263.1 kB / 1.195 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005305/0.8482, allocations: 201.8 kB / 1.195 GB, free: 10.96 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.8482, allocations: 5.844 kB / 1.195 GB, free: 10.95 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.8482, allocations: 33.36 kB / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.8482, allocations: 0 / 1.195 GB, free: 10.91 MB / 1.076 GB Notification: Performance of matching and sorting (n=18): time 0.001806/0.85, allocations: 0.6453 MB / 1.196 GB, free: 10.67 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.8501, allocations: 58.67 kB / 1.196 GB, free: 10.61 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004113/0.8505, allocations: 419.5 kB / 1.196 GB, free: 10.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.8505, allocations: 34.8 kB / 1.196 GB, free: 10.36 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.8506, allocations: 185.6 kB / 1.197 GB, free: 10.2 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.42e-05/0.8507, allocations: 63.41 kB / 1.197 GB, free: 10.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.8508, allocations: 42.3 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.926e-05/0.8508, allocations: 343.1 kB / 1.197 GB, free: 9.801 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.8514, allocations: 194.2 kB / 1.197 GB, free: 9.738 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005718/0.8519, allocations: 313.8 kB / 1.197 GB, free: 9.539 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.853, allocations: 374.7 kB / 1.198 GB, free: 9.406 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.853, allocations: 0 / 1.198 GB, free: 9.406 MB / 1.076 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001201/0.8542, allocations: 463.8 kB / 1.198 GB, free: 9.227 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8542, allocations: 13.41 kB / 1.198 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8542, allocations: 0.6094 kB / 1.198 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.8542, allocations: 1.094 kB / 1.198 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004809/0.8547, allocations: 58.41 kB / 1.198 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.8547, allocations: 0.9062 kB / 1.198 GB, free: 9.219 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.855, allocations: 43.53 kB / 1.198 GB, free: 9.207 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.981e-05/0.8551, allocations: 5.625 kB / 1.198 GB, free: 9.207 MB / 1.076 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.0001486/0.8552, allocations: 172.6 kB / 1.199 GB, free: 9.059 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.008e-05/0.8553, allocations: 36.94 kB / 1.199 GB, free: 9.039 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.876e-05/0.8553, allocations: 40.67 kB / 1.199 GB, free: 9.02 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.8553, allocations: 6.312 kB / 1.199 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8553, allocations: 0.6562 kB / 1.199 GB, free: 9.016 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.8553, allocations: 4.5 kB / 1.199 GB, free: 9.012 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.8558, allocations: 348.8 kB / 1.199 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.8558, allocations: 1.891 kB / 1.199 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.8562, allocations: 57.05 kB / 1.199 GB, free: 8.777 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.8562, allocations: 5 kB / 1.199 GB, free: 8.773 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.864e-05/0.8562, allocations: 8.094 kB / 1.199 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.8562, allocations: 2.016 kB / 1.199 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8562, allocations: 0 / 1.199 GB, free: 8.77 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.8574, allocations: 0.5587 MB / 1.2 GB, free: 8.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.8575, allocations: 42.44 kB / 1.2 GB, free: 8.453 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.498e-05/0.8576, allocations: 1.562 kB / 1.2 GB, free: 8.453 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/0.8579, allocations: 34.27 kB / 1.2 GB, free: 8.449 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.858, allocations: 21.61 kB / 1.2 GB, free: 8.445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.806e-05/0.8581, allocations: 10.53 kB / 1.2 GB, free: 8.441 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002918/0.8584, allocations: 306.3 kB / 1.2 GB, free: 8.289 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8584, allocations: 0 / 1.2 GB, free: 8.289 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003464/0.8587, allocations: 67 kB / 1.2 GB, free: 8.281 MB / 1.076 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 9.981e-05/0.8588, allocations: 103.3 kB / 1.2 GB, free: 8.184 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.86, allocations: 417.4 kB / 1.2 GB, free: 8.059 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.86, allocations: 4 kB / 1.201 GB, free: 8.055 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.8606, allocations: 221.9 kB / 1.201 GB, free: 7.984 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.861, allocations: 49.25 kB / 1.201 GB, free: 7.957 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.8622, allocations: 0.6823 MB / 1.201 GB, free: 7.586 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001679/0.8624, allocations: 195.8 kB / 1.202 GB, free: 7.488 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002427/0.8626, allocations: 63.28 kB / 1.202 GB, free: 7.469 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.8628, allocations: 31.28 kB / 1.202 GB, free: 7.457 MB / 1.076 GB Notification: Performance of SimCode: time 3.3e-07/0.8628, allocations: 0 / 1.202 GB, free: 7.457 MB / 1.076 GB Notification: Performance of Templates: time 0.009903/0.8727, allocations: 4.495 MB / 1.206 GB, free: 6.938 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.750642389059067]