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.001579/0.001579, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002066/0.002066, allocations: 216.8 kB / 23.03 MB, free: 4.949 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.426/3.426, allocations: 0.5003 GB / 0.8062 GB, free: 28.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothLimit,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit",fmuType="cs",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.002128/0.002128, allocations: 66.36 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4229, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothLimit): time 0.003753/0.4266, allocations: 1.482 MB / 1.347 GB, free: 14.47 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00156/0.4282, allocations: 0.5688 MB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.4283, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.801e-05/0.4283, allocations: 3.938 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.393e-05/0.4284, allocations: 11.92 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.4288, allocations: 59.81 kB / 1.347 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.4289, allocations: 27.92 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.4291, allocations: 7.984 kB / 1.347 GB, free: 13.79 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001469/0.4292, allocations: 23.88 kB / 1.347 GB, free: 13.76 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.968e-05/0.4293, allocations: 15.92 kB / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.4293, allocations: 0 / 1.347 GB, free: 13.75 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.4294, allocations: 55.94 kB / 1.347 GB, free: 13.69 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.921e-05/0.4295, allocations: 11.94 kB / 1.347 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.436e-05/0.4295, allocations: 7.875 kB / 1.347 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001947/0.4297, allocations: 76.02 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4297, allocations: 4 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4297, allocations: 0 / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.4297, allocations: 0 / 1.348 GB, free: 13.59 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.0004887/0.4302, allocations: 278.1 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.4302, allocations: 8.031 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.032e-05/0.4302, allocations: 192 / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.583e-05/0.4303, allocations: 34.75 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01708/0.4474, allocations: 2.443 MB / 1.35 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007401/0.4481, allocations: 150.4 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.4481, allocations: 4.375 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.4482, allocations: 4.359 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005683/0.4539, allocations: 1.012 MB / 1.351 GB, free: 9.598 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.4539, allocations: 4 kB / 1.351 GB, free: 9.594 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.4539, allocations: 4 kB / 1.351 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.4539, allocations: 0 / 1.351 GB, free: 9.59 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/0.4644, allocations: 1.853 MB / 1.353 GB, free: 7.734 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006797/0.4712, allocations: 1.429 MB / 1.355 GB, free: 6.258 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01036/0.4815, allocations: 1.876 MB / 1.356 GB, free: 4.371 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00503/0.4866, allocations: 0.9374 MB / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.4866, allocations: 0 / 1.357 GB, free: 3.43 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4867, allocations: 30.56 kB / 1.357 GB, free: 3.391 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.4867, allocations: 4 kB / 1.357 GB, free: 3.387 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.01532/0.502, allocations: 2.737 MB / 1.36 GB, free: 0.6406 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.291e-05/0.5021, allocations: 55.39 kB / 1.36 GB, free: 0.5742 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001546/0.5022, allocations: 109.8 kB / 1.36 GB, free: 468 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.5023, allocations: 29.73 kB / 1.36 GB, free: 432 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.004e-05/0.5023, allocations: 88.52 kB / 1.36 GB, free: 340 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.337e-05/0.5024, allocations: 3.953 kB / 1.36 GB, free: 336 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.5025, allocations: 25.69 kB / 1.36 GB, free: 304 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5027, allocations: 322.8 kB / 1.361 GB, free: 15.97 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0053/0.508, allocations: 0.9364 MB / 1.362 GB, free: 15.04 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005199/0.5132, allocations: 0.9326 MB / 1.363 GB, free: 14.1 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009526/0.5228, allocations: 1.675 MB / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5228, allocations: 0 / 1.364 GB, free: 12.42 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.01009/0.5329, allocations: 1.82 MB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.5329, allocations: 4 kB / 1.366 GB, free: 10.59 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5329, allocations: 7.984 kB / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5329, allocations: 0 / 1.366 GB, free: 10.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002972/0.5359, allocations: 459.5 kB / 1.366 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.5359, allocations: 3.984 kB / 1.366 GB, free: 10.13 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00283/0.5387, allocations: 455.5 kB / 1.367 GB, free: 9.684 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.5388, allocations: 3.984 kB / 1.367 GB, free: 9.68 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.0001937/0.539, allocations: 117.8 kB / 1.367 GB, free: 9.555 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.917e-05/0.5391, allocations: 3.984 kB / 1.367 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.019e-05/0.5391, allocations: 11.62 kB / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.5391, allocations: 0 / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5391, allocations: 0 / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.5391, allocations: 0 / 1.367 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004385/0.5396, allocations: 273.4 kB / 1.367 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5396, allocations: 0 / 1.367 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003022/0.5426, allocations: 467.4 kB / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.5426, allocations: 0 / 1.368 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.5427, allocations: 11.98 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5427, allocations: 3.938 kB / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5427, allocations: 0 / 1.368 GB, free: 8.754 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0104/0.5531, allocations: 1.908 MB / 1.37 GB, free: 6.828 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.176e-05/0.5531, allocations: 12.02 kB / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.5532, allocations: 0 / 1.37 GB, free: 6.816 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002884/0.556, allocations: 447.5 kB / 1.37 GB, free: 6.379 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.5561, allocations: 3.984 kB / 1.37 GB, free: 6.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.5561, allocations: 11.98 kB / 1.37 GB, free: 6.363 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.5562, allocations: 87.28 kB / 1.37 GB, free: 6.277 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5562, allocations: 0 / 1.37 GB, free: 6.277 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003321/0.5565, allocations: 40.27 kB / 1.37 GB, free: 6.238 MB / 1.061 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.01045/0.567, allocations: 2.441 MB / 1.372 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.01016/0.5772, allocations: 1.873 MB / 1.374 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.5772, allocations: 0 / 1.374 GB, free: 1.895 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.004968/0.5821, allocations: 0.9444 MB / 1.375 GB, free: 0.9492 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.5824, allocations: 11.88 kB / 1.375 GB, free: 0.9375 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0312/0.6136, allocations: 6.799 MB / 1.382 GB, free: 10.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.495e-05/0.6137, allocations: 67.25 kB / 1.382 GB, free: 9.961 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002978/0.614, allocations: 43.95 kB / 1.382 GB, free: 9.918 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002292/0.6142, allocations: 27.39 kB / 1.382 GB, free: 9.891 MB / 1.076 GB Notification: Performance of SimCode: time 1.022e-06/0.6142, allocations: 0 / 1.382 GB, free: 9.891 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.6423, allocations: 3.732 MB / 1.386 GB, free: 6.281 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/12.11, allocations: 11.19 kB / 1.386 GB, free: 6.273 MB / 1.076 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.SmoothLimit_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_SmoothLimit_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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: 19.565178361022845]