Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.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.001138/0.001138, allocations: 80.52 kB / 19.96 MB, free: 4.598 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.001397/0.001397, allocations: 177.2 kB / 23.24 MB, free: 1.32 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.9382/0.9382, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.853/1.853, allocations: 389.6 MB / 0.6343 GB, free: 12.62 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.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.931e-05/2.093e-05, allocations: 6.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001595/0.001616, allocations: 1.306 MB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008814/0.002498, allocations: 0.5417 MB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.455e-05/0.002552, allocations: 4 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.655e-05/0.002579, allocations: 3.938 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.42e-05/0.002643, allocations: 7.922 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.003665, allocations: 153.2 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001351/0.0038, allocations: 31.91 kB / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.003868, allocations: 0 / 1.003 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.933e-05/0.003938, allocations: 23.91 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.981e-05/0.004038, allocations: 7.984 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.744e-05/0.004065, allocations: 4 kB / 1.003 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.004612, allocations: 271.4 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.813e-05/0.00464, allocations: 4 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.781e-05/0.004688, allocations: 15.97 kB / 1.003 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.005113, allocations: 159.5 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.00512, allocations: 4 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.304e-06/0.005122, allocations: 3.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.885e-06/0.00513, allocations: 0 / 1.003 GB, free: 10.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006245/0.005754, allocations: 294 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.988e-05/0.005824, allocations: 8.75 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.005887, allocations: 34.75 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.638e-05/0.005943, allocations: 4.938 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.006057, allocations: 109.8 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.006073, allocations: 4.312 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.006103, allocations: 4.375 kB / 1.004 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.006266, allocations: 105.7 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.006278, allocations: 192 / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.006289, allocations: 384 / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.006296, allocations: 4.125 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.521e-05/0.006352, allocations: 23.92 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.006532, allocations: 144.6 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.006648, allocations: 54.56 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.431e-05/0.006692, allocations: 32.78 kB / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.006721, allocations: 0 / 1.004 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.955e-05/0.00675, allocations: 34.56 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.006752, allocations: 4 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.001085/0.007837, allocations: 447.8 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.007883, allocations: 55.41 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.607e-05/0.007959, allocations: 97.8 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.007974, allocations: 29.7 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.065e-05/0.008005, allocations: 80.14 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 4.581e-05/0.008051, allocations: 43.7 kB / 1.005 GB, free: 9.168 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.008093, allocations: 33.7 kB / 1.005 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.008197, allocations: 318.8 kB / 1.005 GB, free: 8.809 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.454e-05/0.008241, allocations: 19.98 kB / 1.005 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.218e-05/0.008273, allocations: 20 kB / 1.005 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.107e-05/0.008365, allocations: 60.22 kB / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008366, allocations: 0 / 1.005 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001315/0.008498, allocations: 89.69 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.008517, allocations: 7.938 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.008524, allocations: 0 / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.008541, allocations: 3.938 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001153/0.008656, allocations: 27.98 kB / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.008663, allocations: 0 / 1.005 GB, free: 8.578 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.101e-05/0.008684, allocations: 4 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.008693, allocations: 4 kB / 1.005 GB, free: 8.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 9.368e-05/0.008786, allocations: 113.8 kB / 1.005 GB, free: 8.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.008805, allocations: 7.938 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.009017, allocations: 121.6 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.009022, allocations: 3.984 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.009028, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.009034, allocations: 0 / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.009474, allocations: 325.5 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.009478, allocations: 0 / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.009579, allocations: 23.92 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.009585, allocations: 4 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.009593, allocations: 0 / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.009596, allocations: 80 / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.009599, allocations: 3.984 kB / 1.006 GB, free: 7.91 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.009841, allocations: 215.8 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.646e-05/0.009857, allocations: 11.97 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.009874, allocations: 0 / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.234e-05/0.009946, allocations: 4 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.00997, allocations: 16.05 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.425e-06/0.009978, allocations: 11.88 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.179e-05/0.01001, allocations: 75.28 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01001, allocations: 0 / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002272/0.01024, allocations: 35.88 kB / 1.006 GB, free: 7.531 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0005754/0.01081, allocations: 0.7827 MB / 1.007 GB, free: 6.723 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001489/0.01096, allocations: 59.86 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.01096, allocations: 0 / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.333e-05/0.011, allocations: 32.08 kB / 1.007 GB, free: 6.633 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.0112, allocations: 12 kB / 1.007 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.01252, allocations: 1.462 MB / 1.008 GB, free: 5.078 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.209e-05/0.01257, allocations: 67.34 kB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.991e-05/0.01261, allocations: 15.92 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.01266, allocations: 16.5 kB / 1.009 GB, free: 4.961 MB / 0.9636 GB Notification: Performance of SimCode: time 1.362e-06/0.01266, allocations: 4.062 kB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08391/0.09657, allocations: 2.712 MB / 1.011 GB, free: 2.441 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.274/7.371, allocations: 5.25 kB / 1.011 GB, free: 2.441 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1) [Timeout 52.5] OMSimulator failed or timed out simulating it; the others still get to run it (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_fmpy_res.csv --start-time -2 --stop-time 2 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck2.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.014057745225728]