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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 112.8 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 245.7 MB, free: 4.207 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.898/2.898, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 177] 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=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: Performance of FrontEnd - loaded program: time 0.001948/0.001947, allocations: 79.88 kB / 1.103 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9058/0.9077, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004064/0.9118, allocations: 2.393 MB / 1.265 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002152/0.914, allocations: 1.402 MB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.9142, allocations: 3.031 kB / 1.266 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.9149, allocations: 201.5 kB / 1.266 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.915, allocations: 80.23 kB / 1.267 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003743/0.9154, allocations: 119.7 kB / 1.267 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004517/0.9159, allocations: 324.1 kB / 1.267 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.916, allocations: 54.34 kB / 1.267 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002628/0.9163, allocations: 132.7 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.9167, allocations: 189.8 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.91e-05/0.9168, allocations: 31.53 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001935/0.917, allocations: 70.58 kB / 1.267 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.9172, allocations: 120.6 kB / 1.268 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.9174, allocations: 176 kB / 1.268 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007499/0.9181, allocations: 498 kB / 1.268 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.9181, allocations: 3.938 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.524e-06/0.9181, allocations: 0.625 kB / 1.268 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.9181, allocations: 0 / 1.268 GB, free: 4.387 MB / 0.9981 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.001367/0.9195, allocations: 0.7114 MB / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.9196, allocations: 9.188 kB / 1.269 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9206, allocations: 147.4 kB / 1.269 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004653/0.9211, allocations: 354.4 kB / 1.269 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001212/0.9212, allocations: 84.08 kB / 1.269 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.468e-05/0.9212, allocations: 16.78 kB / 1.269 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008201/0.9221, allocations: 297.5 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.9221, allocations: 0.875 kB / 1.27 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.9221, allocations: 5.594 kB / 1.27 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.9221, allocations: 6.656 kB / 1.27 GB, free: 3.312 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.9233, allocations: 416.1 kB / 1.27 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.925, allocations: 0.8572 MB / 1.271 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007238/0.9258, allocations: 274.6 kB / 1.271 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005877/0.9264, allocations: 212.4 kB / 1.271 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.9264, allocations: 2.344 kB / 1.271 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.9264, allocations: 40.47 kB / 1.271 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/0.9265, allocations: 0 / 1.271 GB, free: 2.418 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.00195/0.9284, allocations: 0.6505 MB / 1.272 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/0.9285, allocations: 58.31 kB / 1.272 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004956/0.929, allocations: 424.4 kB / 1.273 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.929, allocations: 27.08 kB / 1.273 GB, free: 1.867 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.9291, allocations: 184.5 kB / 1.273 GB, free: 1.711 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/0.9292, allocations: 60.44 kB / 1.273 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.9293, allocations: 47.92 kB / 1.273 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7e-05/0.9294, allocations: 348.6 kB / 1.273 GB, free: 1.301 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005688/0.9299, allocations: 191.2 kB / 1.273 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000558/0.9305, allocations: 235.2 kB / 1.274 GB, free: 1.137 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.9315, allocations: 375.4 kB / 1.274 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.9315, allocations: 1.188 kB / 1.274 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001185/0.9327, allocations: 461.2 kB / 1.274 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.9328, allocations: 5.344 kB / 1.274 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.9328, allocations: 4 kB / 1.274 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9328, allocations: 1.219 kB / 1.274 GB, free: 0.8203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.9333, allocations: 64.05 kB / 1.275 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.9333, allocations: 5.594 kB / 1.275 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003483/0.9337, allocations: 39.2 kB / 1.275 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.9337, allocations: 4.406 kB / 1.275 GB, free: 0.8047 MB / 0.9981 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.000161/0.9339, allocations: 171.1 kB / 1.275 GB, free: 0.6602 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/0.9339, allocations: 36.14 kB / 1.275 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.419e-05/0.934, allocations: 41.34 kB / 1.275 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.934, allocations: 2.344 kB / 1.275 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.934, allocations: 3.938 kB / 1.275 GB, free: 0.6133 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.9341, allocations: 6 kB / 1.275 GB, free: 0.6094 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005394/0.9346, allocations: 484.9 kB / 1.275 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.9346, allocations: 1.125 kB / 1.275 GB, free: 288 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.935, allocations: 65.75 kB / 1.275 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9351, allocations: 1.188 kB / 1.275 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/0.9351, allocations: 7.156 kB / 1.275 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.9351, allocations: 2 kB / 1.275 GB, free: 276 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.9351, allocations: 3.938 kB / 1.275 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.9363, allocations: 0.5588 MB / 1.276 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.9365, allocations: 126.2 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.9365, allocations: 5.625 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003664/0.9369, allocations: 34.95 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.937, allocations: 28.25 kB / 1.276 GB, free: 15.82 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.062e-05/0.9371, allocations: 15.27 kB / 1.276 GB, free: 15.82 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003711/0.9374, allocations: 304.9 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.01e-07/0.9374, allocations: 1.219 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003471/0.9378, allocations: 61.03 kB / 1.276 GB, free: 15.66 MB / 1.014 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.0001449/0.9379, allocations: 103 kB / 1.277 GB, free: 15.57 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.9392, allocations: 435 kB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9392, allocations: 1 kB / 1.277 GB, free: 15.43 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0006196/0.9398, allocations: 232.2 kB / 1.277 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.9403, allocations: 49.91 kB / 1.277 GB, free: 15.33 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.9418, allocations: 0.7118 MB / 1.278 GB, free: 14.92 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.9422, allocations: 0.7928 MB / 1.279 GB, free: 14.21 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.9424, allocations: 30.81 kB / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of SimCode: time 5.91e-07/0.9424, allocations: 0 / 1.279 GB, free: 14.2 MB / 1.014 GB Notification: Performance of Templates: time 0.008721/0.9512, allocations: 4.974 MB / 1.284 GB, free: 13.78 MB / 1.014 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 -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_2/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: 10.987696910975501]