Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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.0007955/0.0007955, allocations: 104.3 kB / 19.72 MB, free: 424 kB / 13.93 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.0008632/0.0008632, allocations: 210.8 kB / 23.02 MB, free: 2.973 MB / 13.93 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.9285/0.9285, allocations: 230.6 MB / 256.8 MB, free: 9.582 MB / 202.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.952/1.952, allocations: 0.5046 GB / 0.8104 GB, free: 2.758 MB / 0.6511 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_DerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009801/0.0009801, allocations: 71.83 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.6752, allocations: 180 MB / 1.352 GB, free: 1.727 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001727/0.677, allocations: 1.299 MB / 1.354 GB, free: 428 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0007283/0.6777, allocations: 0.5372 MB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.445e-05/0.6777, allocations: 0 / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.6777, allocations: 0 / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.998e-05/0.6778, allocations: 7.922 kB / 1.354 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.6782, allocations: 139.4 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.6783, allocations: 19.92 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.77e-05/0.6783, allocations: 8 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.6784, allocations: 15.92 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.536e-05/0.6784, allocations: 7.984 kB / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.6784, allocations: 0 / 1.354 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002767/0.6787, allocations: 259.5 kB / 1.355 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.764e-05/0.6787, allocations: 15.91 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.6787, allocations: 4 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.6789, allocations: 141.8 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.6789, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6789, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.6789, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003367/0.6793, allocations: 282 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6793, allocations: 15.98 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.6793, allocations: 34.73 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.647e-05/0.6794, allocations: 4.891 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.615e-05/0.6794, allocations: 114.5 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.6794, allocations: 384 / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.6795, allocations: 4.375 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.6796, allocations: 71.83 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.6796, allocations: 7.938 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.284e-06/0.6796, allocations: 0 / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.6796, allocations: 4 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.211e-05/0.6796, allocations: 7.938 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001276/0.6797, allocations: 136.7 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.6799, allocations: 38.61 kB / 1.356 GB, free: 14.44 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.764e-05/0.6799, allocations: 20.94 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.68, allocations: 3.938 kB / 1.356 GB, free: 14.41 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.68, allocations: 34.56 kB / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.68, allocations: 0 / 1.356 GB, free: 14.37 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0004783/0.6805, allocations: 229.1 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.6805, allocations: 51.41 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.6805, allocations: 105.8 kB / 1.356 GB, free: 13.93 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.6806, allocations: 25.7 kB / 1.356 GB, free: 13.9 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.466e-05/0.6806, allocations: 84.14 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.6806, allocations: 19.81 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.6806, allocations: 25.7 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.454e-05/0.6807, allocations: 310.8 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/0.6807, allocations: 12 kB / 1.356 GB, free: 13.44 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.969e-05/0.6807, allocations: 11.98 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.199e-05/0.6808, allocations: 36.8 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.6808, allocations: 0 / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.933e-05/0.6809, allocations: 81.75 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6809, allocations: 4 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6809, allocations: 0 / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.6809, allocations: 4.516 kB / 1.357 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.734e-05/0.681, allocations: 8 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.681, allocations: 0 / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.121e-05/0.681, allocations: 0 / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.681, allocations: 8.047 kB / 1.357 GB, free: 13.28 MB / 1.042 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 (7): * Single equations (assignments): 7 * 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 6.253e-05/0.6811, allocations: 114.3 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.699e-06/0.6811, allocations: 11.94 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001202/0.6812, allocations: 69.75 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.6812, allocations: 3.984 kB / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.6812, allocations: 0 / 1.357 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.6812, allocations: 11.92 kB / 1.357 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002771/0.6815, allocations: 286.4 kB / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6815, allocations: 0 / 1.357 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.6815, allocations: 15.98 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.6815, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.6815, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6815, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6815, allocations: 0 / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002263/0.6818, allocations: 188.2 kB / 1.357 GB, free: 12.51 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/0.6818, allocations: 8.016 kB / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.6818, allocations: 0 / 1.357 GB, free: 12.5 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.24e-05/0.6819, allocations: 8 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.6819, allocations: 3.984 kB / 1.357 GB, free: 12.49 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.6819, allocations: 4 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.6819, allocations: 75.28 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.6819, allocations: 0 / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001821/0.6821, allocations: 27.88 kB / 1.357 GB, free: 12.38 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0003992/0.6825, allocations: 0.7369 MB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.6826, allocations: 36.05 kB / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6826, allocations: 0 / 1.358 GB, free: 11.58 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.821e-05/0.6826, allocations: 15.94 kB / 1.358 GB, free: 11.57 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001778/0.6828, allocations: 4 kB / 1.358 GB, free: 11.56 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008552/0.6837, allocations: 1.327 MB / 1.359 GB, free: 10.15 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.529e-05/0.6837, allocations: 63.34 kB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.421e-05/0.6837, allocations: 4 kB / 1.359 GB, free: 10.06 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.044e-05/0.6838, allocations: 15.42 kB / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of SimCode: time 6.81e-07/0.6838, allocations: 0 / 1.359 GB, free: 10.05 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07842/0.7622, allocations: 2.093 MB / 1.362 GB, free: 8.133 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.992/7.754, allocations: 0 / 1.362 GB, free: 8.133 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck_fmu --startTime=-2 --stopTime=2 --stepSize=0.0016 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_DerivativeCheck.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.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_DerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_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_DerivativeCheck.fmu) > Buildings_13_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 12.465476525016129]