Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.000889/0.000889, allocations: 80.55 kB / 19.96 MB, free: 4.602 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.001033/0.001033, allocations: 177.2 kB / 23.24 MB, free: 1.324 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.9021/0.9021, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.834/1.834, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.755e-05/1.941e-05, allocations: 6.281 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002517/0.002537, allocations: 2.295 MB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001662/0.004198, allocations: 1.343 MB / 1.004 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.004348, allocations: 4 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005267/0.004875, allocations: 178.8 kB / 1.004 GB, free: 9.727 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001234/0.004998, allocations: 79.28 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003507/0.005349, allocations: 135.6 kB / 1.005 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.005672, allocations: 350.5 kB / 1.005 GB, free: 9.172 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.005784, allocations: 48.75 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002609/0.006045, allocations: 195.6 kB / 1.005 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001949/0.006239, allocations: 155.6 kB / 1.005 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.00628, allocations: 35.98 kB / 1.005 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.006385, allocations: 67.97 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 8.661e-05/0.006472, allocations: 119.6 kB / 1.006 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 8.741e-05/0.006559, allocations: 115.7 kB / 1.006 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.006958, allocations: 0.5141 MB / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00696, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.22e-07/0.006961, allocations: 0 / 1.006 GB, free: 7.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.006967, allocations: 4 kB / 1.006 GB, free: 7.926 MB / 0.9636 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.0008152/0.007783, allocations: 0.6483 MB / 1.007 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.007821, allocations: 13.33 kB / 1.007 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.007874, allocations: 46.75 kB / 1.007 GB, free: 7.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005784/0.008452, allocations: 184.4 kB / 1.007 GB, free: 7 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003408/0.008793, allocations: 307.9 kB / 1.007 GB, free: 6.68 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.008919, allocations: 191 kB / 1.007 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.008944, allocations: 16.38 kB / 1.007 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004444/0.009389, allocations: 299.8 kB / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/0.009397, allocations: 192 / 1.008 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.288e-05/0.00942, allocations: 7.938 kB / 1.008 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.009427, allocations: 7.984 kB / 1.008 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006383/0.01007, allocations: 416.4 kB / 1.008 GB, free: 5.719 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.01109, allocations: 0.7462 MB / 1.009 GB, free: 4.93 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004167/0.0115, allocations: 258.3 kB / 1.009 GB, free: 4.668 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/0.01183, allocations: 204.7 kB / 1.009 GB, free: 4.465 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.01185, allocations: 4 kB / 1.009 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.01187, allocations: 30.56 kB / 1.009 GB, free: 4.422 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.173e-06/0.01187, allocations: 4 kB / 1.009 GB, free: 4.418 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.001087/0.01296, allocations: 0.6496 MB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.01299, allocations: 55.41 kB / 1.01 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.01331, allocations: 429.6 kB / 1.01 GB, free: 3.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.01334, allocations: 29.7 kB / 1.011 GB, free: 3.23 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01344, allocations: 180.1 kB / 1.011 GB, free: 3.051 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.01349, allocations: 67.41 kB / 1.011 GB, free: 2.984 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.01356, allocations: 41.69 kB / 1.011 GB, free: 2.938 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.01366, allocations: 350.7 kB / 1.011 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.01398, allocations: 191.9 kB / 1.011 GB, free: 2.398 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.01434, allocations: 318.3 kB / 1.012 GB, free: 2.059 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.01493, allocations: 360.6 kB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.01493, allocations: 3.984 kB / 1.012 GB, free: 1.699 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000697/0.01563, allocations: 468 kB / 1.012 GB, free: 1.238 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.01564, allocations: 4 kB / 1.012 GB, free: 1.234 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.01565, allocations: 3.938 kB / 1.012 GB, free: 1.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.01566, allocations: 7.938 kB / 1.012 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/0.01591, allocations: 67.92 kB / 1.012 GB, free: 1.156 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.01591, allocations: 4 kB / 1.012 GB, free: 1.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.01607, allocations: 47.77 kB / 1.013 GB, free: 1.105 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.596e-05/0.01609, allocations: 4 kB / 1.013 GB, free: 1.102 MB / 0.9636 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.000133/0.01622, allocations: 165.8 kB / 1.013 GB, free: 0.9297 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/0.01627, allocations: 39.72 kB / 1.013 GB, free: 0.8906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.01631, allocations: 43.53 kB / 1.013 GB, free: 0.8477 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01631, allocations: 4 kB / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01632, allocations: 0 / 1.013 GB, free: 0.8438 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.01632, allocations: 3.984 kB / 1.013 GB, free: 0.8398 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.01665, allocations: 374.4 kB / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01665, allocations: 0 / 1.013 GB, free: 440 kB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.01685, allocations: 63.92 kB / 1.013 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.01686, allocations: 0 / 1.013 GB, free: 376 kB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01687, allocations: 3.984 kB / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01687, allocations: 0 / 1.013 GB, free: 372 kB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01688, allocations: 8 kB / 1.013 GB, free: 364 kB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007349/0.01761, allocations: 0.5535 MB / 1.014 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.01766, allocations: 43.69 kB / 1.014 GB, free: 15.74 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.203e-05/0.0177, allocations: 8 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.01787, allocations: 31.95 kB / 1.014 GB, free: 15.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.274e-05/0.01794, allocations: 27.95 kB / 1.014 GB, free: 15.68 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.01796, allocations: 4 kB / 1.014 GB, free: 15.67 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0002236/0.01818, allocations: 315.1 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01818, allocations: 3.938 kB / 1.014 GB, free: 15.36 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002296/0.01841, allocations: 64 kB / 1.014 GB, free: 15.3 MB / 0.9792 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.000931/0.01934, allocations: 1.097 MB / 1.015 GB, free: 14.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0007068/0.02005, allocations: 427.6 kB / 1.016 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.02005, allocations: 0 / 1.016 GB, free: 13.76 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0003398/0.02039, allocations: 211.8 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.0207, allocations: 57.45 kB / 1.016 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.02508, allocations: 4.18 MB / 1.02 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.0252, allocations: 187.5 kB / 1.02 GB, free: 9.039 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001659/0.02536, allocations: 58.27 kB / 1.02 GB, free: 8.984 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.02552, allocations: 108.5 kB / 1.02 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of SimCode: time 7.81e-07/0.02553, allocations: 0 / 1.02 GB, free: 8.875 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0844/0.1099, allocations: 9.051 MB / 1.029 GB, free: 28 kB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.258/7.368, allocations: 0 / 1.029 GB, free: 28 kB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --stepSize=1.04 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_fmpy_res.csv --start-time 0 --stop-time 2600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.04 ../Buildings_13_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu) > Buildings_13_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.83232778031379]