Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.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.0009705/0.0009705, 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.001164/0.001164, 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 1.03/1.03, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.912/1.912, allocations: 0.5046 GB / 0.8104 GB, free: 2.781 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.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008893/0.0008893, allocations: 73.75 kB / 1.177 GB, free: 15.46 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3239, allocations: 180 MB / 1.352 GB, free: 9.254 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.002136/0.3261, allocations: 1.482 MB / 1.354 GB, free: 7.762 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.0007392/0.3268, allocations: 0.5806 MB / 1.354 GB, free: 7.176 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.3269, allocations: 0 / 1.354 GB, free: 7.176 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.788e-05/0.3269, allocations: 7.938 kB / 1.354 GB, free: 7.168 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 4.591e-05/0.3269, allocations: 3.938 kB / 1.354 GB, free: 7.164 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.3273, allocations: 63.75 kB / 1.355 GB, free: 7.102 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.3274, allocations: 31.86 kB / 1.355 GB, free: 7.07 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.578e-05/0.3274, allocations: 3.984 kB / 1.355 GB, free: 7.066 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3276, allocations: 23.94 kB / 1.355 GB, free: 7.043 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.937e-05/0.3276, allocations: 19.91 kB / 1.355 GB, free: 7.023 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.3276, allocations: 0 / 1.355 GB, free: 7.023 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3277, allocations: 47.95 kB / 1.355 GB, free: 6.977 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.3278, allocations: 12 kB / 1.355 GB, free: 6.965 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 1.821e-05/0.3278, allocations: 3.938 kB / 1.355 GB, free: 6.961 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3279, allocations: 79.94 kB / 1.355 GB, free: 6.883 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3279, allocations: 4 kB / 1.355 GB, free: 6.879 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.365e-06/0.3279, allocations: 3.938 kB / 1.355 GB, free: 6.875 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.3279, allocations: 0 / 1.355 GB, free: 6.875 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003543/0.3283, allocations: 274.2 kB / 1.355 GB, free: 6.578 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3283, allocations: 8.922 kB / 1.355 GB, free: 6.57 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.882e-05/0.3283, allocations: 30.75 kB / 1.355 GB, free: 6.531 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00681/0.3352, allocations: 2.439 MB / 1.357 GB, free: 4.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002624/0.3354, allocations: 150.4 kB / 1.358 GB, free: 3.918 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3354, allocations: 384 / 1.358 GB, free: 3.918 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.59e-05/0.3355, allocations: 4.375 kB / 1.358 GB, free: 3.914 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002353/0.3378, allocations: 1.012 MB / 1.359 GB, free: 2.895 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3378, allocations: 0 / 1.359 GB, free: 2.895 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.3378, allocations: 4 kB / 1.359 GB, free: 2.891 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3378, allocations: 0 / 1.359 GB, free: 2.891 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004338/0.3422, allocations: 1.861 MB / 1.36 GB, free: 1.027 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.3451, allocations: 1.426 MB / 1.362 GB, free: 15.55 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004311/0.3494, allocations: 1.875 MB / 1.364 GB, free: 13.67 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002457/0.3519, allocations: 0.9335 MB / 1.365 GB, free: 12.73 MB / 1.057 GB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.3519, allocations: 4 kB / 1.365 GB, free: 12.73 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.3519, allocations: 30.56 kB / 1.365 GB, free: 12.69 MB / 1.057 GB Notification: Performance of pre-optimization done (n=2): time 2.205e-06/0.3519, allocations: 0 / 1.365 GB, free: 12.69 MB / 1.057 GB Notification: Performance of matching and sorting (n=2): time 0.006508/0.3584, allocations: 2.741 MB / 1.367 GB, free: 9.941 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.3584, allocations: 55.44 kB / 1.367 GB, free: 9.875 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.872e-05/0.3585, allocations: 113.8 kB / 1.367 GB, free: 9.754 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.3586, allocations: 25.7 kB / 1.367 GB, free: 9.723 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 4.575e-05/0.3586, allocations: 92.08 kB / 1.368 GB, free: 9.629 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 3.458e-05/0.3586, allocations: 11.92 kB / 1.368 GB, free: 9.617 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.3587, allocations: 25.69 kB / 1.368 GB, free: 9.586 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.3588, allocations: 318.8 kB / 1.368 GB, free: 9.266 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.361, allocations: 0.9326 MB / 1.369 GB, free: 8.332 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.3632, allocations: 0.9326 MB / 1.37 GB, free: 7.398 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004301/0.3675, allocations: 1.679 MB / 1.371 GB, free: 5.715 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3675, allocations: 4 kB / 1.371 GB, free: 5.711 MB / 1.057 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.004241/0.3717, allocations: 1.816 MB / 1.373 GB, free: 3.887 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3717, allocations: 4 kB / 1.373 GB, free: 3.883 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.3717, allocations: 0 / 1.373 GB, free: 3.883 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.3718, allocations: 4.031 kB / 1.373 GB, free: 3.879 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.373, allocations: 467.4 kB / 1.374 GB, free: 3.422 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.373, allocations: 0 / 1.374 GB, free: 3.422 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3743, allocations: 451.5 kB / 1.374 GB, free: 2.98 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.3743, allocations: 7.984 kB / 1.374 GB, free: 2.973 MB / 1.057 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 (2): * Single equations (assignments): 2 * 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 0.0001007/0.3744, allocations: 110.3 kB / 1.374 GB, free: 2.855 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-05/0.3745, allocations: 7.953 kB / 1.374 GB, free: 2.848 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.3745, allocations: 19.61 kB / 1.374 GB, free: 2.832 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.3745, allocations: 0 / 1.374 GB, free: 2.832 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.3745, allocations: 0 / 1.374 GB, free: 2.832 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.3745, allocations: 3.938 kB / 1.374 GB, free: 2.828 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003324/0.3749, allocations: 269.4 kB / 1.374 GB, free: 2.516 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3749, allocations: 4 kB / 1.374 GB, free: 2.512 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/0.3765, allocations: 463.4 kB / 1.375 GB, free: 2.059 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3765, allocations: 4 kB / 1.375 GB, free: 2.055 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.3765, allocations: 3.984 kB / 1.375 GB, free: 2.051 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3765, allocations: 0 / 1.375 GB, free: 2.051 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3765, allocations: 0 / 1.375 GB, free: 2.051 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005842/0.3824, allocations: 1.908 MB / 1.377 GB, free: 128 kB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 1.456e-05/0.3824, allocations: 11.94 kB / 1.377 GB, free: 116 kB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.202e-05/0.3824, allocations: 0 / 1.377 GB, free: 116 kB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.384, allocations: 451.5 kB / 1.377 GB, free: 15.67 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.204e-05/0.384, allocations: 3.984 kB / 1.377 GB, free: 15.67 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-05/0.3841, allocations: 7.984 kB / 1.377 GB, free: 15.66 MB / 1.073 GB Notification: Performance of sorting global known variables: time 4.758e-05/0.3841, allocations: 91.53 kB / 1.377 GB, free: 15.57 MB / 1.073 GB Notification: Performance of sort global known variables: time 8e-08/0.3841, allocations: 3.938 kB / 1.377 GB, free: 15.57 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0002907/0.3844, allocations: 36 kB / 1.377 GB, free: 15.53 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.006293/0.3907, allocations: 2.437 MB / 1.38 GB, free: 13.07 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.005962/0.3967, allocations: 1.869 MB / 1.381 GB, free: 11.2 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3967, allocations: 4 kB / 1.381 GB, free: 11.19 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.002998/0.3997, allocations: 0.9443 MB / 1.382 GB, free: 10.25 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3999, allocations: 4 kB / 1.382 GB, free: 10.24 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/0.4187, allocations: 6.799 MB / 1.389 GB, free: 3.355 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.31e-05/0.4188, allocations: 63.34 kB / 1.389 GB, free: 3.273 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.0002223/0.419, allocations: 36.03 kB / 1.389 GB, free: 3.238 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.4192, allocations: 27.39 kB / 1.389 GB, free: 3.211 MB / 1.073 GB Notification: Performance of SimCode: time 1.173e-06/0.4192, allocations: 0 / 1.389 GB, free: 3.211 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08705/0.5062, allocations: 4.214 MB / 1.393 GB, free: 15.12 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.89, allocations: 3.047 kB / 1.393 GB, free: 15.12 MB / 1.089 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ../Buildings_13_Buildings_Utilities_Math_Examples_SmoothLimit.fmu) > Buildings_13_Buildings.Utilities.Math.Examples.SmoothLimit_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.28285190090537]