Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.0008201/0.0008201, allocations: 80.55 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.0008096/0.0008096, allocations: 173.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.9482/0.9482, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.887/1.887, 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.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 1.001 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.918e-05, allocations: 2.281 kB / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.00435/0.004369, allocations: 0.6149 MB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001546/0.005915, allocations: 1.432 MB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.454e-05/0.005939, allocations: 7.938 kB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.281e-05/0.005952, allocations: 4 kB / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.652e-05/0.005979, allocations: 0 / 1.003 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.006413, allocations: 135.3 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.006485, allocations: 35.91 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.708e-05/0.006522, allocations: 4 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.614e-05/0.006578, allocations: 23.95 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.254e-05/0.006651, allocations: 23.97 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.006666, allocations: 0 / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.006977, allocations: 247.5 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.006993, allocations: 7.984 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.315e-05/0.007017, allocations: 11.98 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.007272, allocations: 203.5 kB / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.007275, allocations: 0 / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.01e-07/0.007275, allocations: 0 / 1.003 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.007279, allocations: 4 kB / 1.003 GB, free: 10.71 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.0003973/0.007676, allocations: 293.9 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.007714, allocations: 13.34 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.315e-05/0.007747, allocations: 30.75 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003349/0.0111, allocations: 72.8 kB / 1.004 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.933e-05/0.01117, allocations: 101.8 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.0112, allocations: 8.375 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.01122, allocations: 384 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.01141, allocations: 107.8 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.01142, allocations: 192 / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.01143, allocations: 4.125 kB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.01143, allocations: 0 / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001903/0.01162, allocations: 67.92 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001423/0.01177, allocations: 128.8 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.01217, allocations: 122.6 kB / 1.004 GB, free: 9.66 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.01228, allocations: 52.84 kB / 1.004 GB, free: 9.605 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002787/0.01256, allocations: 71.91 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/0.01258, allocations: 34.56 kB / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.01258, allocations: 0 / 1.004 GB, free: 9.492 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0007929/0.01338, allocations: 333 kB / 1.005 GB, free: 9.133 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.0134, allocations: 51.41 kB / 1.005 GB, free: 9.07 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.816e-05/0.01345, allocations: 93.86 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.01346, allocations: 29.83 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.341e-05/0.01349, allocations: 84.14 kB / 1.005 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.01351, allocations: 23.78 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.923e-05/0.01355, allocations: 21.72 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.01363, allocations: 318.8 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.877e-05/0.01373, allocations: 31.97 kB / 1.005 GB, free: 8.445 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/0.01683, allocations: 40.16 kB / 1.005 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.01702, allocations: 80.8 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01703, allocations: 3.938 kB / 1.006 GB, free: 8.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002406/0.01727, allocations: 113.6 kB / 1.006 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.01728, allocations: 8 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.01729, allocations: 3.938 kB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.0173, allocations: 0 / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.01738, allocations: 19.98 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.01739, allocations: 3.984 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.976e-05/0.01745, allocations: 19.98 kB / 1.006 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01746, allocations: 7.984 kB / 1.006 GB, free: 8.141 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 (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 prepare postOptimizeDAE: time 5.858e-05/0.01752, allocations: 105.8 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.145e-05/0.01753, allocations: 4 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000427/0.01796, allocations: 141.3 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01796, allocations: 4 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.01796, allocations: 0 / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.01796, allocations: 0 / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.305e-05/0.01806, allocations: 136.7 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01806, allocations: 0 / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.791e-05/0.01815, allocations: 19.98 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01815, allocations: 0 / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.01816, allocations: 7.922 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.01816, allocations: 0 / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.01816, allocations: 8.125 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003701/0.01853, allocations: 193 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.01856, allocations: 3.984 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01858, allocations: 7.938 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.879e-05/0.01865, allocations: 11.98 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.01867, allocations: 7.984 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.01868, allocations: 4 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.756e-05/0.0187, allocations: 79.34 kB / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.0187, allocations: 0 / 1.006 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002186/0.01892, allocations: 35.86 kB / 1.006 GB, free: 7.305 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_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.0006271/0.01955, allocations: 0.7451 MB / 1.007 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003247/0.0228, allocations: 87.86 kB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0228, allocations: 0 / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.0229, allocations: 51.89 kB / 1.007 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001397/0.02304, allocations: 11.94 kB / 1.007 GB, free: 6.383 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.02457, allocations: 1.34 MB / 1.009 GB, free: 4.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.576e-05/0.02462, allocations: 71.34 kB / 1.009 GB, free: 4.867 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.393e-05/0.02469, allocations: 16 kB / 1.009 GB, free: 4.852 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.02475, allocations: 16.5 kB / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.02475, allocations: 0 / 1.009 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08675/0.1115, allocations: 2.748 MB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.294, allocations: 2 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_InverseXDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.InverseXDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.923057667911053]