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.0009276/0.0009276, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008716/0.0008716, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.9079/0.9079, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.77/1.77, allocations: 377.8 MB / 0.6228 GB, free: 8.684 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9822 GB, free: 2.102 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.115e-05/2.295e-05, allocations: 5.516 kB / 0.9822 GB, free: 2.098 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002487/0.00251, allocations: 2.288 MB / 0.9844 GB, free: 15.8 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.00139/0.003899, allocations: 1.347 MB / 0.9857 GB, free: 14.44 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.004005, allocations: 11.94 kB / 0.9858 GB, free: 14.43 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.004443, allocations: 178.9 kB / 0.9859 GB, free: 14.25 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 9.035e-05/0.004533, allocations: 79.23 kB / 0.986 GB, free: 14.18 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.00482, allocations: 143.6 kB / 0.9861 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002729/0.005093, allocations: 346.5 kB / 0.9865 GB, free: 13.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.005193, allocations: 32.91 kB / 0.9865 GB, free: 13.66 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.005433, allocations: 195.5 kB / 0.9867 GB, free: 13.47 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.00566, allocations: 151.6 kB / 0.9868 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.998e-05/0.0057, allocations: 35.98 kB / 0.9869 GB, free: 13.29 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.005812, allocations: 71.95 kB / 0.9869 GB, free: 13.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.754e-05/0.0059, allocations: 119.6 kB / 0.987 GB, free: 13.1 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.941e-05/0.005979, allocations: 115.7 kB / 0.9872 GB, free: 12.99 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003922/0.006371, allocations: 0.5102 MB / 0.9877 GB, free: 12.48 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.006373, allocations: 0 / 0.9877 GB, free: 12.48 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.362e-06/0.006375, allocations: 3.938 kB / 0.9877 GB, free: 12.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.006381, allocations: 0 / 0.9877 GB, free: 12.47 MB / 0.948 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.0007975/0.007178, allocations: 0.6521 MB / 0.9883 GB, free: 11.79 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.007212, allocations: 8.031 kB / 0.9883 GB, free: 11.78 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.007765, allocations: 180.5 kB / 0.9885 GB, free: 11.61 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.008087, allocations: 299.9 kB / 0.9888 GB, free: 11.29 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001151/0.008202, allocations: 199 kB / 0.989 GB, free: 11.06 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.008228, allocations: 12.38 kB / 0.989 GB, free: 11.05 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004459/0.008674, allocations: 299.8 kB / 0.9893 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.008682, allocations: 192 / 0.9893 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.008705, allocations: 8.125 kB / 0.9893 GB, free: 10.74 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.00871, allocations: 4 kB / 0.9893 GB, free: 10.74 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.009305, allocations: 416.4 kB / 0.9897 GB, free: 10.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000934/0.01024, allocations: 0.73 MB / 0.9904 GB, free: 9.574 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003841/0.01062, allocations: 258.4 kB / 0.9906 GB, free: 9.312 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002935/0.01092, allocations: 212.7 kB / 0.9908 GB, free: 9.102 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.01094, allocations: 0 / 0.9908 GB, free: 9.102 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.01096, allocations: 34.56 kB / 0.9909 GB, free: 9.059 MB / 0.948 GB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.01096, allocations: 0 / 0.9909 GB, free: 9.059 MB / 0.948 GB Notification: Performance of matching and sorting (n=18): time 0.001011/0.01198, allocations: 0.6457 MB / 0.9915 GB, free: 8.406 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.01201, allocations: 59.41 kB / 0.9915 GB, free: 8.336 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002866/0.0123, allocations: 417.6 kB / 0.9919 GB, free: 7.914 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.01232, allocations: 29.7 kB / 0.992 GB, free: 7.879 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.01242, allocations: 184.5 kB / 0.9921 GB, free: 7.691 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.655e-05/0.01247, allocations: 63.42 kB / 0.9922 GB, free: 7.629 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.01254, allocations: 41.7 kB / 0.9922 GB, free: 7.582 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.474e-05/0.01263, allocations: 346.7 kB / 0.9926 GB, free: 7.234 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002908/0.01292, allocations: 191.9 kB / 0.9928 GB, free: 7.047 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.01326, allocations: 314.4 kB / 0.9931 GB, free: 6.711 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000549/0.01381, allocations: 372.5 kB / 0.9934 GB, free: 6.344 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01381, allocations: 0 / 0.9934 GB, free: 6.344 MB / 0.948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00065/0.01446, allocations: 463.3 kB / 0.9939 GB, free: 5.887 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.01448, allocations: 8 kB / 0.9939 GB, free: 5.879 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.01448, allocations: 4 kB / 0.9939 GB, free: 5.875 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.01449, allocations: 3.984 kB / 0.9939 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000221/0.01472, allocations: 55.94 kB / 0.9939 GB, free: 5.816 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.01472, allocations: 0 / 0.9939 GB, free: 5.816 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.01486, allocations: 39.89 kB / 0.994 GB, free: 5.777 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.01488, allocations: 4 kB / 0.994 GB, free: 5.773 MB / 0.948 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.0001296/0.01501, allocations: 177.7 kB / 0.9941 GB, free: 5.59 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.01505, allocations: 35.77 kB / 0.9942 GB, free: 5.555 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.051e-05/0.01509, allocations: 39.45 kB / 0.9942 GB, free: 5.516 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01509, allocations: 4 kB / 0.9942 GB, free: 5.512 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.0151, allocations: 3.938 kB / 0.9942 GB, free: 5.508 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0151, allocations: 7.922 kB / 0.9942 GB, free: 5.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.0154, allocations: 354.6 kB / 0.9946 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.0154, allocations: 0 / 0.9946 GB, free: 5.129 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.01558, allocations: 59.86 kB / 0.9946 GB, free: 5.07 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.01558, allocations: 8.047 kB / 0.9946 GB, free: 5.062 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.0156, allocations: 7.984 kB / 0.9946 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.0156, allocations: 0 / 0.9946 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.0156, allocations: 0 / 0.9946 GB, free: 5.055 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006721/0.01627, allocations: 0.5601 MB / 0.9952 GB, free: 4.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.01631, allocations: 39.7 kB / 0.9952 GB, free: 4.441 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.165e-05/0.01634, allocations: 4 kB / 0.9952 GB, free: 4.438 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.01649, allocations: 35.94 kB / 0.9953 GB, free: 4.402 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.01657, allocations: 19.97 kB / 0.9953 GB, free: 4.383 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.01658, allocations: 11.98 kB / 0.9953 GB, free: 4.371 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001999/0.01678, allocations: 303.1 kB / 0.9956 GB, free: 4.078 MB / 0.948 GB Notification: Performance of sort global known variables: time 9e-08/0.01678, allocations: 0 / 0.9956 GB, free: 4.078 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002069/0.01699, allocations: 64 kB / 0.9956 GB, free: 4.016 MB / 0.948 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.371e-05/0.01708, allocations: 111.2 kB / 0.9957 GB, free: 3.898 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006701/0.01775, allocations: 415.6 kB / 0.9961 GB, free: 3.492 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01775, allocations: 4 kB / 0.9961 GB, free: 3.488 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/0.01807, allocations: 219.8 kB / 0.9964 GB, free: 3.273 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/0.01836, allocations: 45.36 kB / 0.9964 GB, free: 3.227 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009633/0.01932, allocations: 0.7037 MB / 0.9971 GB, free: 2.484 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.01946, allocations: 187.5 kB / 0.9973 GB, free: 2.281 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.01961, allocations: 36.48 kB / 0.9973 GB, free: 2.246 MB / 0.948 GB Notification: Performance of SimCode: time 9.01e-07/0.01961, allocations: 3.938 kB / 0.9973 GB, free: 2.242 MB / 0.948 GB Notification: Performance of Templates: time 0.00521/0.02482, allocations: 5.129 MB / 1.002 GB, free: 13.15 MB / 0.9636 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/jenkins/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: 7.0003402810543776]