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.0009364/0.0009364, allocations: 108.3 kB / 19.73 MB, free: 420 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.001133/0.001133, allocations: 214.8 kB / 23.03 MB, free: 2.953 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 1.04/1.04, allocations: 230.6 MB / 256.8 MB, free: 9.602 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.971/1.971, allocations: 0.5045 GB / 0.8104 GB, free: 2.805 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.0009113/0.0009113, allocations: 67.89 kB / 1.177 GB, free: 11.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7264/0.7273, allocations: 180 MB / 1.352 GB, free: 1.668 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001891/0.7292, allocations: 0.6052 MB / 1.353 GB, free: 1.062 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0004496/0.7297, allocations: 150.6 kB / 1.353 GB, free: 0.918 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.7297, allocations: 0 / 1.353 GB, free: 0.918 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 2.715e-05/0.7297, allocations: 3.938 kB / 1.353 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.7298, allocations: 0 / 1.353 GB, free: 0.9141 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005022/0.7303, allocations: 35.91 kB / 1.353 GB, free: 0.8789 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 8.386e-05/0.7304, allocations: 11.97 kB / 1.353 GB, free: 0.8672 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 7.439e-05/0.7304, allocations: 8 kB / 1.353 GB, free: 0.8594 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 2.831e-05/0.7305, allocations: 8 kB / 1.353 GB, free: 0.8516 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.7306, allocations: 7.922 kB / 1.353 GB, free: 0.8438 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.7306, allocations: 4 kB / 1.353 GB, free: 0.8398 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.7307, allocations: 39.95 kB / 1.353 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.7308, allocations: 0 / 1.353 GB, free: 0.8008 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.013e-05/0.7308, allocations: 11.88 kB / 1.353 GB, free: 0.7891 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.7309, allocations: 34.05 kB / 1.353 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.731, allocations: 0 / 1.353 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of FrontEnd: time 3.296e-06/0.731, allocations: 0 / 1.353 GB, free: 0.7578 MB / 1.026 GB Notification: Performance of Transformations before backend: time 1.076e-05/0.731, allocations: 0 / 1.353 GB, free: 0.7578 MB / 1.026 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.000457/0.7314, allocations: 254.3 kB / 1.354 GB, free: 488 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.7315, allocations: 8.922 kB / 1.354 GB, free: 480 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.18e-05/0.7315, allocations: 34.75 kB / 1.354 GB, free: 436 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.7316, allocations: 8.875 kB / 1.354 GB, free: 428 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.774e-05/0.7317, allocations: 106.5 kB / 1.354 GB, free: 296 kB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.7317, allocations: 8.375 kB / 1.354 GB, free: 288 kB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.7317, allocations: 384 / 1.354 GB, free: 288 kB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.7318, allocations: 67.95 kB / 1.354 GB, free: 208 kB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.7318, allocations: 3.938 kB / 1.354 GB, free: 204 kB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.446e-05/0.7319, allocations: 4 kB / 1.354 GB, free: 200 kB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.7319, allocations: 3.938 kB / 1.354 GB, free: 196 kB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.43e-05/0.7319, allocations: 19.92 kB / 1.354 GB, free: 176 kB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001694/0.7321, allocations: 124.7 kB / 1.354 GB, free: 8 kB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.7322, allocations: 46.7 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.7322, allocations: 20.97 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.7323, allocations: 4 kB / 1.354 GB, free: 15.92 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.7324, allocations: 34.56 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.7324, allocations: 4 kB / 1.354 GB, free: 15.88 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.001139/0.7335, allocations: 423.1 kB / 1.355 GB, free: 15.41 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/0.7335, allocations: 51.41 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.871e-05/0.7336, allocations: 93.86 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.7336, allocations: 29.7 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.7336, allocations: 84.27 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.279e-05/0.7337, allocations: 23.8 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.7337, allocations: 21.7 kB / 1.355 GB, free: 15.07 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.871e-05/0.7338, allocations: 310.8 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.701e-05/0.7338, allocations: 15.98 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.7338, allocations: 12 kB / 1.355 GB, free: 14.73 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.866e-05/0.7339, allocations: 41.06 kB / 1.355 GB, free: 14.69 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.7339, allocations: 7.938 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.815e-05/0.734, allocations: 69.58 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.734, allocations: 4 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.734, allocations: 0 / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.734, allocations: 4 kB / 1.355 GB, free: 14.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.275e-05/0.7341, allocations: 12 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.7341, allocations: 0 / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.62e-05/0.7341, allocations: 8 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.7341, allocations: 3.984 kB / 1.355 GB, free: 14.58 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 (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 6.57e-05/0.7342, allocations: 117.8 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-06/0.7342, allocations: 3.938 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001451/0.7344, allocations: 81.56 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7344, allocations: 0 / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.7344, allocations: 4 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.7344, allocations: 0 / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.7345, allocations: 136.7 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.7345, allocations: 4 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.7345, allocations: 11.94 kB / 1.356 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-06/0.7345, allocations: 4 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.7346, allocations: 3.984 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7346, allocations: 0 / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7346, allocations: 7.875 kB / 1.356 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.7347, allocations: 121 kB / 1.356 GB, free: 14.02 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.927e-06/0.7347, allocations: 7.938 kB / 1.356 GB, free: 14.01 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.7347, allocations: 4.062 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.801e-05/0.7348, allocations: 4.094 kB / 1.356 GB, free: 14 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.071e-05/0.7348, allocations: 11.98 kB / 1.356 GB, free: 13.99 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-06/0.7348, allocations: 4 kB / 1.356 GB, free: 13.98 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.911e-05/0.7348, allocations: 75.28 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7348, allocations: 0 / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001704/0.735, allocations: 27.94 kB / 1.356 GB, free: 13.88 MB / 1.042 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.0004608/0.7355, allocations: 0.6904 MB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.7356, allocations: 40.08 kB / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.7356, allocations: 0 / 1.357 GB, free: 13.12 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-05/0.7356, allocations: 20.45 kB / 1.357 GB, free: 13.11 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.7357, allocations: 10.06 kB / 1.357 GB, free: 13.1 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.7368, allocations: 1.185 MB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.7368, allocations: 71.11 kB / 1.358 GB, free: 11.74 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.7368, allocations: 19.73 kB / 1.358 GB, free: 11.72 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.7369, allocations: 15.44 kB / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of SimCode: time 7.22e-07/0.7369, allocations: 0 / 1.358 GB, free: 11.71 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08452/0.8214, allocations: 2.292 MB / 1.36 GB, free: 9.555 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.879/7.701, allocations: 13.38 kB / 1.36 GB, free: 9.551 MB / 1.042 GB " [Timeout remaining time 292] (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: 12.59139952622354]