Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001876/0.001876, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.002322/0.002322, allocations: 213.4 kB / 23 MB, free: 4.969 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.221/3.221, allocations: 0.49 GB / 0.7959 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002067/0.002067, allocations: 67.91 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3351, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.004052/0.3391, allocations: 2.291 MB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002254/0.3414, allocations: 1.347 MB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.3415, allocations: 4 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0006061/0.3421, allocations: 179 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001609/0.3423, allocations: 79.28 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.3427, allocations: 135.7 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005169/0.3432, allocations: 330.7 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.3433, allocations: 40.77 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003084/0.3436, allocations: 143.5 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002897/0.3439, allocations: 195.2 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.793e-05/0.344, allocations: 32 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3442, allocations: 75.97 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.3443, allocations: 123.6 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001532/0.3445, allocations: 135.3 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005745/0.345, allocations: 0.4981 MB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.345, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.213e-06/0.345, allocations: 0 / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.345, allocations: 7.938 kB / 1.333 GB, free: 11.38 MB / 1.029 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.001392/0.3464, allocations: 0.6444 MB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3465, allocations: 8.031 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3478, allocations: 184.4 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.3483, allocations: 300.7 kB / 1.334 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002009/0.3485, allocations: 191 kB / 1.334 GB, free: 9.973 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.3485, allocations: 16.36 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.3494, allocations: 301 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.3494, allocations: 4 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.3494, allocations: 4 kB / 1.334 GB, free: 9.652 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3494, allocations: 7.938 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3506, allocations: 412.4 kB / 1.335 GB, free: 9.242 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001734/0.3523, allocations: 0.722 MB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007135/0.353, allocations: 258.4 kB / 1.335 GB, free: 8.223 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/0.3536, allocations: 208.7 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.3536, allocations: 0 / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3537, allocations: 38.56 kB / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.3537, allocations: 0 / 1.336 GB, free: 7.969 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.001954/0.3556, allocations: 0.6526 MB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.3557, allocations: 55.41 kB / 1.336 GB, free: 7.246 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005113/0.3562, allocations: 413.7 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.3562, allocations: 29.7 kB / 1.337 GB, free: 6.797 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.3564, allocations: 184.4 kB / 1.337 GB, free: 6.613 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.999e-05/0.3565, allocations: 59.47 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001323/0.3566, allocations: 45.69 kB / 1.337 GB, free: 6.504 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002059/0.3568, allocations: 354.7 kB / 1.337 GB, free: 6.148 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/0.3574, allocations: 191.9 kB / 1.338 GB, free: 5.961 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.3581, allocations: 308.3 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001106/0.3592, allocations: 374.7 kB / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3592, allocations: 0 / 1.338 GB, free: 5.262 MB / 1.029 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001317/0.3605, allocations: 469.1 kB / 1.339 GB, free: 4.797 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3605, allocations: 4 kB / 1.339 GB, free: 4.793 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3605, allocations: 4 kB / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3605, allocations: 0 / 1.339 GB, free: 4.789 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/0.361, allocations: 71.86 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.361, allocations: 0 / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.3614, allocations: 39.78 kB / 1.339 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.3614, allocations: 15.97 kB / 1.339 GB, free: 4.664 MB / 1.029 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.0002074/0.3616, allocations: 162.3 kB / 1.339 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.3617, allocations: 35.77 kB / 1.339 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.3618, allocations: 39.45 kB / 1.339 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3618, allocations: 4 kB / 1.339 GB, free: 4.422 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3618, allocations: 4 kB / 1.339 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.98e-05/0.3619, allocations: 51.62 kB / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.3619, allocations: 0 / 1.339 GB, free: 4.367 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/0.3623, allocations: 31.95 kB / 1.339 GB, free: 4.336 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.3624, allocations: 23.95 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001631/0.364, allocations: 0.5408 MB / 1.34 GB, free: 3.766 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001466/0.3655, allocations: 0.6327 MB / 1.34 GB, free: 3.117 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005776/0.3661, allocations: 203.8 kB / 1.341 GB, free: 2.918 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003775/0.3665, allocations: 307.1 kB / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of Backend: time 4.41e-07/0.3665, allocations: 0 / 1.341 GB, free: 2.621 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001227/0.3677, allocations: 315.5 kB / 1.341 GB, free: 2.305 MB / 1.029 GB Notification: Performance of SimCode: time 0.00127/0.369, allocations: 1.012 MB / 1.342 GB, free: 1.246 MB / 1.029 GB Notification: Performance of Templates: time 0.01297/0.3819, allocations: 6.989 MB / 1.349 GB, free: 10.31 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.915595038997708]