Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00128/0.00128, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 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.001613/0.001613, allocations: 210.1 kB / 22.25 MB, free: 5.133 MB / 14.72 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.501/1.501, allocations: 230.6 MB / 256 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.855/2.855, allocations: 476.7 MB / 0.7707 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002058/0.002058, allocations: 68.77 kB / 1.117 GB, free: 40.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3419, allocations: 170 MB / 1.283 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003395/0.3453, allocations: 1.502 MB / 1.285 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3467, allocations: 0.6289 MB / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.559e-05/0.3467, allocations: 0 / 1.285 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.831e-05/0.3468, allocations: 7.938 kB / 1.285 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.471e-05/0.3468, allocations: 3.938 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003914/0.3472, allocations: 63.81 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3473, allocations: 27.91 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.3474, allocations: 4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.3476, allocations: 23.86 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.3477, allocations: 11.94 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.3477, allocations: 4 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.3478, allocations: 59.94 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.3479, allocations: 7.984 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.954e-05/0.3479, allocations: 15.88 kB / 1.286 GB, free: 9.316 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.3481, allocations: 72.44 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3481, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3481, allocations: 4 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3481, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 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.0004974/0.3486, allocations: 274.1 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3487, allocations: 12.03 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.3487, allocations: 34.75 kB / 1.286 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.3489, allocations: 16.92 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.3491, allocations: 118.5 kB / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.3491, allocations: 384 / 1.286 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.3492, allocations: 12.25 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3493, allocations: 45.81 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3493, allocations: 0 / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.3493, allocations: 0 / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3493, allocations: 0 / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.733e-05/0.3494, allocations: 23.98 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.3498, allocations: 236 kB / 1.286 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.634e-05/0.3499, allocations: 30.52 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.68e-05/0.3499, allocations: 12.91 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.3506, allocations: 95.88 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3506, allocations: 34.55 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3506, allocations: 0 / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002533/0.3509, allocations: 61.64 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3509, allocations: 63.47 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.351, allocations: 109.8 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.351, allocations: 25.7 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.3511, allocations: 96.06 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.3511, allocations: 3.953 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.599e-05/0.3512, allocations: 17.72 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.3513, allocations: 318.8 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.056e-05/0.3514, allocations: 8 kB / 1.287 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.374e-05/0.3514, allocations: 15.98 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.879e-05/0.3515, allocations: 24.84 kB / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3515, allocations: 0 / 1.287 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001216/0.3516, allocations: 57.62 kB / 1.287 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3516, allocations: 8 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3516, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3516, allocations: 0 / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.295e-05/0.3517, allocations: 8.094 kB / 1.287 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3517, allocations: 3.984 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.2e-05/0.3518, allocations: 4 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.3518, allocations: 0 / 1.287 GB, free: 7.312 MB / 0.9825 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 9.341e-05/0.3519, allocations: 109.8 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.3519, allocations: 7.953 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.3521, allocations: 65.3 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3521, allocations: 7.969 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3521, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.3521, allocations: 0 / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3522, allocations: 136.7 kB / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3522, allocations: 0 / 1.288 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/0.3523, allocations: 11.94 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3523, allocations: 0 / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.3523, allocations: 4 kB / 1.288 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3523, allocations: 7.969 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3523, allocations: 0 / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.3525, allocations: 147.9 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.3525, allocations: 7.953 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.3525, allocations: 0 / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.469e-05/0.3526, allocations: 7.984 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.197e-05/0.3526, allocations: 7.938 kB / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3526, allocations: 0 / 1.288 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.497e-05/0.3527, allocations: 91.27 kB / 1.288 GB, free: 6.637 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3527, allocations: 4.031 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002355/0.3529, allocations: 15.94 kB / 1.288 GB, free: 6.617 MB / 0.9825 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.0005833/0.3535, allocations: 0.6967 MB / 1.289 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001455/0.3536, allocations: 24.02 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3536, allocations: 0 / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.3537, allocations: 15.92 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.3539, allocations: 8 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.3553, allocations: 1.252 MB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003477/0.3556, allocations: 0.6807 MB / 1.291 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.3556, allocations: 4.031 kB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.877e-05/0.3557, allocations: 19.42 kB / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of SimCode: time 3.31e-07/0.3557, allocations: 0 / 1.291 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.3832, allocations: 1.753 MB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11.17, allocations: 13.16 kB / 1.292 GB, free: 2.16 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothLimit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.892876326999613]