Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001456, allocations: 110.8 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 225.6 MB / 249.3 MB, free: 3.336 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.462/2.462, allocations: 476.7 MB / 0.7628 GB, free: 15.11 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothExponential,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothExponential",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 67.89 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.784/0.7858, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002068/0.7879, allocations: 1.462 MB / 1.273 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003479/0.7882, allocations: 191.7 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.7883, allocations: 1 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.172e-05/0.7883, allocations: 0.5156 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.602e-05/0.7883, allocations: 14.94 kB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.7885, allocations: 37.98 kB / 1.273 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.075e-05/0.7886, allocations: 24.78 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.384e-05/0.7887, allocations: 3.375 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.578e-05/0.7887, allocations: 12.81 kB / 1.273 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.7887, allocations: 9.984 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.7888, allocations: 2.5 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.023e-05/0.7888, allocations: 37.59 kB / 1.273 GB, free: 6.512 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.365e-05/0.7889, allocations: 5.766 kB / 1.273 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.966e-05/0.7889, allocations: 11.38 kB / 1.273 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.789, allocations: 45.94 kB / 1.273 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.789, allocations: 3.938 kB / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.789, allocations: 0 / 1.273 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.789, allocations: 4.719 kB / 1.273 GB, free: 6.473 MB / 0.9981 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.0003316/0.7893, allocations: 347.3 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.7894, allocations: 9.5 kB / 1.274 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.045e-05/0.7894, allocations: 32.11 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.15e-05/0.7894, allocations: 2.469 kB / 1.274 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.278e-05/0.7895, allocations: 163.4 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.7895, allocations: 5.281 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.7895, allocations: 1.938 kB / 1.274 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.7896, allocations: 49.67 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7896, allocations: 3.938 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-06/0.7897, allocations: 0.9062 kB / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.7897, allocations: 0 / 1.274 GB, free: 5.828 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.7898, allocations: 40.77 kB / 1.274 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000211/0.79, allocations: 251.8 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.7902, allocations: 40.62 kB / 1.274 GB, free: 5.508 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.204e-05/0.7902, allocations: 19.86 kB / 1.274 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.828e-05/0.7903, allocations: 84.44 kB / 1.274 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.7903, allocations: 36.16 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.7903, allocations: 0.875 kB / 1.274 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003227/0.7906, allocations: 85.45 kB / 1.274 GB, free: 5.316 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.495e-05/0.7906, allocations: 51.41 kB / 1.274 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.538e-05/0.7907, allocations: 98.56 kB / 1.274 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.251e-06/0.7907, allocations: 29.7 kB / 1.274 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.7907, allocations: 88.62 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.313e-05/0.7907, allocations: 8.516 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.437e-05/0.7908, allocations: 16.25 kB / 1.275 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.7908, allocations: 313.3 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.616e-05/0.7909, allocations: 14.31 kB / 1.275 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.904e-05/0.7909, allocations: 18.33 kB / 1.275 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.7911, allocations: 40.28 kB / 1.275 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7911, allocations: 8.906 kB / 1.275 GB, free: 4.668 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001718/0.7912, allocations: 63.2 kB / 1.275 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.7913, allocations: 9.156 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.7913, allocations: 1.609 kB / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.7913, allocations: 0 / 1.275 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.7914, allocations: 13.7 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.078e-06/0.7914, allocations: 0 / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.381e-05/0.7914, allocations: 9.641 kB / 1.275 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-06/0.7914, allocations: 4 kB / 1.275 GB, free: 4.621 MB / 0.9981 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 3.437e-05/0.7914, allocations: 111.7 kB / 1.275 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.7915, allocations: 5.547 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001982/0.7917, allocations: 79.42 kB / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.7917, allocations: 0 / 1.275 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.7917, allocations: 4.781 kB / 1.275 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7917, allocations: 3.984 kB / 1.275 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.7918, allocations: 166 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.7918, allocations: 1 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.391e-05/0.7918, allocations: 7.641 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7918, allocations: 0.8906 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.7918, allocations: 1.062 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.7918, allocations: 0 / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.7918, allocations: 32 / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.792, allocations: 174.3 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.464e-05/0.792, allocations: 78.02 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.003e-05/0.792, allocations: 1.031 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.7921, allocations: 5.047 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.575e-05/0.7922, allocations: 1.234 kB / 1.276 GB, free: 4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.7922, allocations: 8.719 kB / 1.276 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.252e-05/0.7922, allocations: 83.31 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7922, allocations: 0.75 kB / 1.276 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000212/0.7924, allocations: 9.469 kB / 1.276 GB, free: 3.918 MB / 0.9981 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.0003665/0.7928, allocations: 0.7093 MB / 1.276 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001922/0.7929, allocations: 37.95 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.7929, allocations: 1.25 kB / 1.277 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.124e-05/0.793, allocations: 22.53 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.7933, allocations: 4.188 kB / 1.277 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003276/0.7936, allocations: 146.1 kB / 1.277 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.814e-05/0.7937, allocations: 0.6766 MB / 1.277 GB, free: 2.375 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.047e-05/0.7937, allocations: 9.578 kB / 1.277 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.7937, allocations: 12.38 kB / 1.277 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of SimCode: time 2.8e-07/0.7937, allocations: 0.9062 kB / 1.277 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.8164, allocations: 1.427 MB / 1.279 GB, free: 17.98 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.993/7.809, allocations: 2.062 kB / 1.279 GB, free: 17.98 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_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_SmoothExponential.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothExponential.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: 13.155050880995987]