Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.0007851/0.0007851, allocations: 80.55 kB / 19.96 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.000926/0.000926, 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.8989/0.8989, allocations: 177.1 MB / 203.5 MB, free: 5.543 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.767/1.767, allocations: 389.6 MB / 0.6343 GB, free: 12.61 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.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.292e-05/1.436e-05, allocations: 6.219 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001054/0.001068, allocations: 0.5916 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0002809/0.001349, allocations: 163.4 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.067e-05/0.00137, allocations: 0 / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.199e-05/0.001382, allocations: 0 / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 1.899e-05/0.001401, allocations: 3.938 kB / 1.001 GB, free: 12.71 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.001646, allocations: 39.83 kB / 1.002 GB, free: 12.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 4.375e-05/0.001689, allocations: 8 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.873e-05/0.001728, allocations: 4 kB / 1.002 GB, free: 12.66 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 2.852e-05/0.001757, allocations: 11.98 kB / 1.002 GB, free: 12.65 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.039e-05/0.001817, allocations: 7.922 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.001831, allocations: 4 kB / 1.002 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.242e-05/0.001893, allocations: 35.95 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.001907, allocations: 4 kB / 1.002 GB, free: 12.6 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.45e-05/0.001921, allocations: 4 kB / 1.002 GB, free: 12.59 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/0.002012, allocations: 35.88 kB / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.002013, allocations: 0 / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.71e-07/0.002014, allocations: 0 / 1.002 GB, free: 12.56 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.002017, allocations: 0 / 1.002 GB, free: 12.56 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002725/0.002289, allocations: 254.3 kB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.002324, allocations: 13.33 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.807e-05/0.002352, allocations: 38.75 kB / 1.002 GB, free: 12.22 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.195e-05/0.002374, allocations: 4.938 kB / 1.002 GB, free: 12.21 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.487e-05/0.002439, allocations: 117.6 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.002449, allocations: 4.375 kB / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.002466, allocations: 384 / 1.002 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.289e-05/0.002559, allocations: 67.95 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.002566, allocations: 192 / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.174e-06/0.002573, allocations: 4.375 kB / 1.002 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.002577, allocations: 4.125 kB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.733e-05/0.002615, allocations: 15.98 kB / 1.002 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001179/0.002733, allocations: 128.7 kB / 1.002 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.494e-05/0.002808, allocations: 50.56 kB / 1.002 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.002831, allocations: 16.98 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.603e-05/0.002887, allocations: 4 kB / 1.002 GB, free: 11.72 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.002907, allocations: 42.55 kB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 6.71e-07/0.002907, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0007863/0.003694, allocations: 415.3 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.17e-05/0.003716, allocations: 51.41 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.336e-05/0.003759, allocations: 97.86 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.003769, allocations: 25.7 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.003791, allocations: 80.27 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.003816, allocations: 35.73 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.003843, allocations: 21.66 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/0.003907, allocations: 314.8 kB / 1.003 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.003925, allocations: 12 kB / 1.003 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.003942, allocations: 12 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.827e-05/0.00399, allocations: 44.83 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.003991, allocations: 3.938 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 6.731e-05/0.004058, allocations: 61.69 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.004067, allocations: 4 kB / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.004072, allocations: 0 / 1.003 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.004082, allocations: 11.94 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.004133, allocations: 15.92 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.638e-06/0.004138, allocations: 4 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.267e-05/0.004151, allocations: 4 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-06/0.004155, allocations: 0 / 1.004 GB, free: 10.37 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 (8): * Single equations (assignments): 8 * 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 4.682e-05/0.004202, allocations: 117.8 kB / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-06/0.004207, allocations: 0 / 1.004 GB, free: 10.24 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001103/0.004317, allocations: 81.62 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.00432, allocations: 3.938 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.004323, allocations: 0 / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.004326, allocations: 4 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.143e-05/0.004397, allocations: 148.6 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.004398, allocations: 0 / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.004441, allocations: 11.98 kB / 1.004 GB, free: 9.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.004443, allocations: 4 kB / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-06/0.004448, allocations: 0 / 1.004 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.00445, allocations: 3.938 kB / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.004451, allocations: 0 / 1.004 GB, free: 9.938 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.004568, allocations: 113.1 kB / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-06/0.004571, allocations: 0 / 1.004 GB, free: 9.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.877e-06/0.00458, allocations: 4 kB / 1.004 GB, free: 9.805 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.337e-05/0.004604, allocations: 11.97 kB / 1.004 GB, free: 9.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.23e-05/0.004616, allocations: 3.984 kB / 1.004 GB, free: 9.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.004622, allocations: 12.06 kB / 1.004 GB, free: 9.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.004641, allocations: 75.28 kB / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.004641, allocations: 0 / 1.004 GB, free: 9.703 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001422/0.004783, allocations: 31.92 kB / 1.004 GB, free: 9.672 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0003074/0.00509, allocations: 0.6792 MB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.663e-05/0.005167, allocations: 47.97 kB / 1.005 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.005168, allocations: 4.156 kB / 1.005 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-05/0.005188, allocations: 19.94 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001016/0.005289, allocations: 8.5 kB / 1.005 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/0.006045, allocations: 1.197 MB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.432e-05/0.00608, allocations: 71.33 kB / 1.006 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.278e-05/0.006103, allocations: 4 kB / 1.006 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.624e-05/0.006129, allocations: 20.56 kB / 1.006 GB, free: 7.492 MB / 0.9636 GB Notification: Performance of SimCode: time 3.61e-07/0.006129, allocations: 3.938 kB / 1.006 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.07824, allocations: 2.453 MB / 1.009 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.077/7.155, allocations: 8.938 kB / 1.009 GB, free: 5.191 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_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_SmoothExponentialDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] fmpy timed out simulating the FMU [Calling sys.exit(0), Time elapsed: 11.473004789091647]