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.0007616/0.0007616, allocations: 100.3 kB / 19.72 MB, free: 428 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.000804/0.000804, allocations: 215.3 kB / 23.03 MB, free: 2.969 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.9661/0.9661, allocations: 230.6 MB / 256.8 MB, free: 9.578 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.863/1.863, allocations: 0.5045 GB / 0.8104 GB, free: 2.746 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_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 0.001008/0.001008, allocations: 72.58 kB / 1.177 GB, free: 15.43 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2891, allocations: 180 MB / 1.352 GB, free: 9.117 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.002153/0.2913, allocations: 1.296 MB / 1.354 GB, free: 7.809 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.2921, allocations: 0.5372 MB / 1.354 GB, free: 7.27 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.082e-05/0.2922, allocations: 0 / 1.354 GB, free: 7.27 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.073e-05/0.2922, allocations: 4 kB / 1.354 GB, free: 7.266 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.2922, allocations: 15.84 kB / 1.354 GB, free: 7.25 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005419/0.2928, allocations: 156.6 kB / 1.354 GB, free: 7.098 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.2928, allocations: 31.86 kB / 1.354 GB, free: 7.066 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.388e-05/0.2929, allocations: 3.984 kB / 1.354 GB, free: 7.062 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.2929, allocations: 8 kB / 1.354 GB, free: 7.055 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.567e-05/0.2929, allocations: 15.92 kB / 1.354 GB, free: 7.039 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.293, allocations: 0 / 1.354 GB, free: 7.039 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.2933, allocations: 271.5 kB / 1.355 GB, free: 6.773 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2933, allocations: 4 kB / 1.355 GB, free: 6.77 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.5e-05/0.2934, allocations: 19.92 kB / 1.355 GB, free: 6.75 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.2936, allocations: 139.8 kB / 1.355 GB, free: 6.613 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.2936, allocations: 0 / 1.355 GB, free: 6.613 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.472e-06/0.2936, allocations: 0 / 1.355 GB, free: 6.613 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.2936, allocations: 4 kB / 1.355 GB, free: 6.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003571/0.294, allocations: 294 kB / 1.355 GB, free: 6.289 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.294, allocations: 8.031 kB / 1.355 GB, free: 6.281 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.218e-05/0.294, allocations: 30.75 kB / 1.355 GB, free: 6.242 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.2941, allocations: 12.89 kB / 1.355 GB, free: 6.23 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.548e-05/0.2941, allocations: 110.5 kB / 1.355 GB, free: 6.098 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.2942, allocations: 4.375 kB / 1.355 GB, free: 6.094 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.2942, allocations: 8.375 kB / 1.355 GB, free: 6.086 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.2943, allocations: 97.66 kB / 1.355 GB, free: 5.973 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2943, allocations: 11.88 kB / 1.355 GB, free: 5.961 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.2943, allocations: 4 kB / 1.355 GB, free: 5.957 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2943, allocations: 0 / 1.355 GB, free: 5.957 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.2944, allocations: 19.98 kB / 1.355 GB, free: 5.938 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.2945, allocations: 132.8 kB / 1.356 GB, free: 5.766 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.2946, allocations: 62.56 kB / 1.356 GB, free: 5.695 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.2947, allocations: 28.84 kB / 1.356 GB, free: 5.664 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.2947, allocations: 0 / 1.356 GB, free: 5.664 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2947, allocations: 38.56 kB / 1.356 GB, free: 5.617 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.2947, allocations: 0 / 1.356 GB, free: 5.617 MB / 1.042 GB Notification: Performance of matching and sorting (n=11): time 0.000892/0.2956, allocations: 455.6 kB / 1.356 GB, free: 5.117 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.238e-05/0.2956, allocations: 51.41 kB / 1.356 GB, free: 5.055 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.79e-05/0.2957, allocations: 97.86 kB / 1.356 GB, free: 4.949 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2957, allocations: 25.7 kB / 1.356 GB, free: 4.918 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 3.429e-05/0.2957, allocations: 88.25 kB / 1.356 GB, free: 4.828 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.864e-05/0.2958, allocations: 43.69 kB / 1.356 GB, free: 4.785 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.2958, allocations: 29.64 kB / 1.356 GB, free: 4.75 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.609e-05/0.2959, allocations: 314.8 kB / 1.357 GB, free: 4.434 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.81e-05/0.2959, allocations: 23.98 kB / 1.357 GB, free: 4.41 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.296, allocations: 24.73 kB / 1.357 GB, free: 4.387 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.2961, allocations: 55.98 kB / 1.357 GB, free: 4.332 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.2961, allocations: 0 / 1.357 GB, free: 4.332 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001268/0.2962, allocations: 97.58 kB / 1.357 GB, free: 4.23 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2962, allocations: 8 kB / 1.357 GB, free: 4.223 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2962, allocations: 0 / 1.357 GB, free: 4.223 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.2962, allocations: 4 kB / 1.357 GB, free: 4.219 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.2963, allocations: 27.92 kB / 1.357 GB, free: 4.191 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.2963, allocations: 4 kB / 1.357 GB, free: 4.188 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.768e-05/0.2963, allocations: 0 / 1.357 GB, free: 4.188 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.2963, allocations: 0 / 1.357 GB, free: 4.188 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 (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 6.604e-05/0.2964, allocations: 122.3 kB / 1.357 GB, free: 4.059 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.34e-05/0.2964, allocations: 11.89 kB / 1.357 GB, free: 4.047 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.2966, allocations: 105.6 kB / 1.357 GB, free: 3.938 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2966, allocations: 4 kB / 1.357 GB, free: 3.934 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2966, allocations: 0 / 1.357 GB, free: 3.934 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2966, allocations: 4 kB / 1.357 GB, free: 3.93 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000584/0.2972, allocations: 313.6 kB / 1.358 GB, free: 3.574 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.2972, allocations: 3.938 kB / 1.358 GB, free: 3.57 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.212e-05/0.2973, allocations: 27.92 kB / 1.358 GB, free: 3.543 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2973, allocations: 0 / 1.358 GB, free: 3.543 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.2973, allocations: 4 kB / 1.358 GB, free: 3.539 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.2973, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.2973, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002044/0.2975, allocations: 219.4 kB / 1.358 GB, free: 3.309 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-06/0.2975, allocations: 0 / 1.358 GB, free: 3.309 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.2975, allocations: 4.094 kB / 1.358 GB, free: 3.305 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.835e-05/0.2976, allocations: 12.03 kB / 1.358 GB, free: 3.293 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.856e-05/0.2976, allocations: 7.984 kB / 1.358 GB, free: 3.285 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.695e-06/0.2976, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.611e-05/0.2976, allocations: 83.22 kB / 1.358 GB, free: 3.199 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.2976, allocations: 0 / 1.358 GB, free: 3.199 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000282/0.2979, allocations: 43.8 kB / 1.358 GB, free: 3.156 MB / 1.042 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.0004819/0.2984, allocations: 0.7752 MB / 1.359 GB, free: 2.355 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.2985, allocations: 63.91 kB / 1.359 GB, free: 2.293 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2985, allocations: 160 / 1.359 GB, free: 2.293 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 4.111e-05/0.2986, allocations: 39.92 kB / 1.359 GB, free: 2.254 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2988, allocations: 10.06 kB / 1.359 GB, free: 2.246 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.3001, allocations: 1.508 MB / 1.36 GB, free: 0.6641 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.947e-05/0.3001, allocations: 67.34 kB / 1.36 GB, free: 0.5781 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.171e-05/0.3002, allocations: 20.03 kB / 1.36 GB, free: 0.5586 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.858e-05/0.3002, allocations: 15.44 kB / 1.36 GB, free: 0.543 MB / 1.042 GB Notification: Performance of SimCode: time 4.71e-07/0.3002, allocations: 0 / 1.36 GB, free: 0.543 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1113/0.4115, allocations: 2.553 MB / 1.363 GB, free: 14.16 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.324/7.735, allocations: 7.812 kB / 1.363 GB, free: 14.16 MB / 1.057 GB " [Timeout remaining time 292] (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.792999325320125]