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.001195/0.001195, allocations: 80.52 kB / 19.95 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.001298/0.001298, allocations: 173.6 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.9396/0.9396, allocations: 177.1 MB / 203.6 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.844/1.844, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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_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 1.613e-06/1.613e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.507e-05/1.668e-05, allocations: 10.22 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001789/0.001806, allocations: 1.302 MB / 1.002 GB, free: 12.2 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.000677/0.002482, allocations: 0.5378 MB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.002505, allocations: 4 kB / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.00252, allocations: 0 / 1.002 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.00256, allocations: 7.922 kB / 1.002 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.002958, allocations: 146.4 kB / 1.003 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.891e-05/0.003017, allocations: 19.92 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.003052, allocations: 4 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.943e-05/0.003101, allocations: 15.92 kB / 1.003 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.003147, allocations: 11.92 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.00316, allocations: 0 / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.003426, allocations: 271.4 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.003438, allocations: 0 / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.926e-05/0.003457, allocations: 7.984 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001874/0.003645, allocations: 159.5 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.003647, allocations: 4 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 4.7e-07/0.003647, allocations: 0 / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.003651, allocations: 0 / 1.003 GB, free: 11.02 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002935/0.003944, allocations: 282 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.00398, allocations: 12.75 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.004009, allocations: 34.73 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.157e-05/0.004031, allocations: 0.9375 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.961e-05/0.0041, allocations: 109.7 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.004109, allocations: 384 / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.004127, allocations: 8.375 kB / 1.004 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.004217, allocations: 59.95 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.004225, allocations: 4.188 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.004233, allocations: 4.375 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.004238, allocations: 8.125 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.093e-05/0.004269, allocations: 7.938 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.004387, allocations: 128.8 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001596/0.004546, allocations: 42.61 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.004573, allocations: 16.89 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.00459, allocations: 7.984 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.004611, allocations: 34.5 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.004613, allocations: 4 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.000461/0.005074, allocations: 245.3 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/0.005105, allocations: 51.41 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.553e-05/0.005151, allocations: 97.84 kB / 1.004 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.005162, allocations: 29.7 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.577e-05/0.005188, allocations: 84.14 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.00521, allocations: 19.8 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.005236, allocations: 17.72 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.005317, allocations: 322.8 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.793e-05/0.005335, allocations: 8 kB / 1.005 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.588e-05/0.005351, allocations: 11.98 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.367e-05/0.005395, allocations: 40.92 kB / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.005396, allocations: 0 / 1.005 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 6.889e-05/0.005465, allocations: 65.62 kB / 1.005 GB, free: 9.066 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.005479, allocations: 4 kB / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.005483, allocations: 0 / 1.005 GB, free: 9.062 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.075e-05/0.005493, allocations: 3.938 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.406e-05/0.005527, allocations: 16 kB / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.005532, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.005542, allocations: 0 / 1.005 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.9e-06/0.005547, allocations: 4.234 kB / 1.005 GB, free: 9.039 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 (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 5.168e-05/0.005599, allocations: 117.8 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.005605, allocations: 7.953 kB / 1.005 GB, free: 8.906 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.728e-05/0.005702, allocations: 73.73 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.005704, allocations: 3.938 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.005708, allocations: 0 / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.00571, allocations: 0 / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.005932, allocations: 282.5 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.005934, allocations: 3.938 kB / 1.005 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.005969, allocations: 11.94 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.005971, allocations: 4 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.162e-06/0.005977, allocations: 8.016 kB / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.005979, allocations: 0 / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.00598, allocations: 0 / 1.005 GB, free: 8.465 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001186/0.006098, allocations: 172.4 kB / 1.005 GB, free: 8.277 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.006115, allocations: 19.84 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.917e-06/0.006124, allocations: 192 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.083e-05/0.006164, allocations: 11.94 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.438e-05/0.006179, allocations: 11.92 kB / 1.005 GB, free: 8.234 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-06/0.006183, allocations: 4 kB / 1.005 GB, free: 8.23 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.19e-05/0.006205, allocations: 75.28 kB / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.006205, allocations: 0 / 1.006 GB, free: 8.156 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001581/0.006363, allocations: 28 kB / 1.006 GB, free: 8.129 MB / 0.9636 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.0003294/0.006693, allocations: 0.7288 MB / 1.006 GB, free: 7.371 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.738e-05/0.00677, allocations: 35.92 kB / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-06/0.006771, allocations: 0 / 1.006 GB, free: 7.336 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.625e-05/0.006787, allocations: 15.94 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.006942, allocations: 4 kB / 1.006 GB, free: 7.316 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008947/0.007836, allocations: 1.306 MB / 1.008 GB, free: 5.922 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.898e-05/0.007875, allocations: 63.34 kB / 1.008 GB, free: 5.84 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.972e-05/0.007895, allocations: 11.92 kB / 1.008 GB, free: 5.828 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.007917, allocations: 12.5 kB / 1.008 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.007917, allocations: 4.062 kB / 1.008 GB, free: 5.812 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07788/0.08579, allocations: 2.237 MB / 1.01 GB, free: 3.766 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.213, allocations: 10.66 kB / 1.01 GB, free: 3.758 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.819475038908422]