Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001292/0.001292, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001447/0.001447, allocations: 217 kB / 22.25 MB, free: 5.082 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.428/3.428, allocations: 0.505 GB / 0.8101 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_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.002071/0.002071, allocations: 72.42 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3808, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003021/0.3839, allocations: 1.496 MB / 1.354 GB, free: 6.961 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3852, allocations: 0.635 MB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.3853, allocations: 0 / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.959e-05/0.3853, allocations: 3.938 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.813e-05/0.3853, allocations: 3.938 kB / 1.355 GB, free: 6.312 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3857, allocations: 59.81 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.3858, allocations: 31.86 kB / 1.355 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.3859, allocations: 7.984 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.386, allocations: 23.92 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.76e-05/0.3861, allocations: 15.92 kB / 1.355 GB, free: 6.176 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.3861, allocations: 4 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3863, allocations: 51.95 kB / 1.355 GB, free: 6.121 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.3863, allocations: 4 kB / 1.355 GB, free: 6.117 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.335e-05/0.3863, allocations: 19.86 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002027/0.3865, allocations: 71.95 kB / 1.355 GB, free: 6.027 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.3865, allocations: 7.922 kB / 1.355 GB, free: 6.02 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3866, allocations: 4 kB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3866, allocations: 0 / 1.355 GB, free: 6.016 MB / 1.045 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.0005267/0.3871, allocations: 274.1 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3871, allocations: 8.031 kB / 1.356 GB, free: 5.711 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.3872, allocations: 34.75 kB / 1.356 GB, free: 5.668 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.4031, allocations: 2.436 MB / 1.358 GB, free: 3.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004056/0.4035, allocations: 150.4 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.988e-06/0.4035, allocations: 384 / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.4035, allocations: 4.375 kB / 1.358 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005478/0.409, allocations: 1.016 MB / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.409, allocations: 0 / 1.359 GB, free: 2.031 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.4091, allocations: 4 kB / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4091, allocations: 0 / 1.359 GB, free: 2.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01044/0.4195, allocations: 1.865 MB / 1.361 GB, free: 164 kB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.4263, allocations: 1.481 MB / 1.362 GB, free: 14.63 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/0.4365, allocations: 1.876 MB / 1.364 GB, free: 12.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005085/0.4416, allocations: 0.9335 MB / 1.365 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.4416, allocations: 3.984 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.4416, allocations: 34.5 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.4416, allocations: 4 kB / 1.365 GB, free: 11.76 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.01506/0.4567, allocations: 2.733 MB / 1.368 GB, free: 9.016 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.4568, allocations: 51.41 kB / 1.368 GB, free: 8.953 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4569, allocations: 113.8 kB / 1.368 GB, free: 8.832 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.4569, allocations: 25.7 kB / 1.368 GB, free: 8.801 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.233e-05/0.457, allocations: 84.14 kB / 1.368 GB, free: 8.715 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.457, allocations: 11.94 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.4571, allocations: 21.69 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4573, allocations: 323.2 kB / 1.368 GB, free: 8.352 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005208/0.4625, allocations: 0.9287 MB / 1.369 GB, free: 7.422 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005114/0.4676, allocations: 0.9326 MB / 1.37 GB, free: 6.488 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009435/0.477, allocations: 1.683 MB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.477, allocations: 3.938 kB / 1.372 GB, free: 4.797 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.009804/0.4868, allocations: 1.82 MB / 1.374 GB, free: 2.969 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4869, allocations: 8 kB / 1.374 GB, free: 2.961 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4869, allocations: 4 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.4869, allocations: 0 / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.4898, allocations: 463.5 kB / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4898, allocations: 0 / 1.374 GB, free: 2.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.4925, allocations: 455.5 kB / 1.375 GB, free: 2.059 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/0.4926, allocations: 7.984 kB / 1.375 GB, free: 2.051 MB / 1.061 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.0001377/0.4927, allocations: 117.7 kB / 1.375 GB, free: 1.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.4928, allocations: 7.984 kB / 1.375 GB, free: 1.918 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.525e-05/0.4928, allocations: 15.56 kB / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.4928, allocations: 0 / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.4928, allocations: 0 / 1.375 GB, free: 1.902 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.4929, allocations: 4 kB / 1.375 GB, free: 1.898 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.4933, allocations: 333.2 kB / 1.375 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4933, allocations: 0 / 1.375 GB, free: 1.527 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002991/0.4963, allocations: 467.4 kB / 1.375 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.4963, allocations: 0 / 1.375 GB, free: 1.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.54e-05/0.4963, allocations: 7.984 kB / 1.375 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4963, allocations: 4 kB / 1.375 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4963, allocations: 0 / 1.375 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01023/0.5066, allocations: 1.912 MB / 1.377 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.452e-05/0.5066, allocations: 4 kB / 1.377 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.5066, allocations: 3.984 kB / 1.377 GB, free: 15.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002744/0.5094, allocations: 443.5 kB / 1.378 GB, free: 14.69 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.5094, allocations: 3.984 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.5094, allocations: 7.984 kB / 1.378 GB, free: 14.68 MB / 1.076 GB Notification: Performance of sorting global known variables: time 6.951e-05/0.5095, allocations: 91.22 kB / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5095, allocations: 0 / 1.378 GB, free: 14.59 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003048/0.5098, allocations: 36 kB / 1.378 GB, free: 14.55 MB / 1.076 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.01064/0.5205, allocations: 2.445 MB / 1.38 GB, free: 12.08 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.009892/0.5303, allocations: 1.877 MB / 1.382 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.5304, allocations: 3.938 kB / 1.382 GB, free: 10.2 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004947/0.5353, allocations: 0.9404 MB / 1.383 GB, free: 9.254 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002994/0.5356, allocations: 5.234 kB / 1.383 GB, free: 9.25 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03209/0.5677, allocations: 6.804 MB / 1.39 GB, free: 2.359 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.568, allocations: 0.6768 MB / 1.39 GB, free: 1.656 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002778/0.5683, allocations: 35.91 kB / 1.39 GB, free: 1.621 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/0.5685, allocations: 23.41 kB / 1.39 GB, free: 1.598 MB / 1.076 GB Notification: Performance of SimCode: time 1.674e-06/0.5685, allocations: 3.938 kB / 1.39 GB, free: 1.594 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03458/0.6031, allocations: 3.525 MB / 1.394 GB, free: 14.17 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.37, allocations: 7.859 kB / 1.394 GB, free: 14.17 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothLimit.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 18.581097828000566]