Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.001532/0.001532, allocations: 101.3 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.002127/0.002127, allocations: 215 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.899/2.899, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 176] 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.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin",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.002002/0.002002, allocations: 65.91 kB / 1.118 GB, free: 39.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.369, allocations: 170 MB / 1.284 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002909/0.3719, allocations: 1.478 MB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004585/0.3724, allocations: 135.6 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.698e-05/0.3724, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.592e-05/0.3725, allocations: 0 / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.241e-05/0.3726, allocations: 7.922 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3728, allocations: 31.91 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.3729, allocations: 39.86 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.373, allocations: 19.97 kB / 1.286 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.771e-05/0.3731, allocations: 15.94 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.3732, allocations: 23.86 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3732, allocations: 4 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.3733, allocations: 39.97 kB / 1.286 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.364e-05/0.3733, allocations: 7.984 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.3733, allocations: 15.88 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.3735, allocations: 63.38 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3735, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3735, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.3735, allocations: 0 / 1.286 GB, free: 8.902 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004945/0.374, allocations: 290.1 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.3741, allocations: 12.03 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.811e-05/0.3741, allocations: 8.125 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.695e-05/0.3741, allocations: 34.75 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001146/0.3753, allocations: 212.5 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.3754, allocations: 114.4 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.3754, allocations: 12.36 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3754, allocations: 4.312 kB / 1.287 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006026/0.376, allocations: 205.7 kB / 1.287 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.376, allocations: 3.984 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.376, allocations: 0 / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.376, allocations: 4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008515/0.3769, allocations: 279.6 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009703/0.3779, allocations: 388.5 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.379, allocations: 286.2 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.3793, allocations: 96.8 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3794, allocations: 4 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3794, allocations: 34.56 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.3794, allocations: 0 / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.001187/0.3806, allocations: 309.3 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3807, allocations: 55.41 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3808, allocations: 117.8 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.3808, allocations: 25.7 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.576e-05/0.3809, allocations: 96.09 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3809, allocations: 3.953 kB / 1.288 GB, free: 6.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.987e-05/0.3809, allocations: 17.7 kB / 1.288 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3811, allocations: 322.8 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003579/0.3815, allocations: 95.88 kB / 1.289 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.3818, allocations: 99.86 kB / 1.289 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.3824, allocations: 168.6 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.3824, allocations: 0 / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000735/0.3832, allocations: 217.3 kB / 1.289 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.3832, allocations: 4.375 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3832, allocations: 11.94 kB / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3832, allocations: 0 / 1.289 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/0.3835, allocations: 31.94 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.3835, allocations: 3.938 kB / 1.289 GB, free: 5.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.3837, allocations: 35.89 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3837, allocations: 7.938 kB / 1.289 GB, free: 5.164 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 (3): * Single equations (assignments): 3 * 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.0001045/0.3838, allocations: 113.8 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.327e-05/0.3838, allocations: 7.953 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.3839, allocations: 12 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3839, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3839, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3839, allocations: 0 / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002449/0.3841, allocations: 168.7 kB / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3841, allocations: 336 / 1.29 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.3844, allocations: 35.94 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3844, allocations: 4 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.3844, allocations: 3.938 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.3844, allocations: 4 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3844, allocations: 0 / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007887/0.3852, allocations: 315.2 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.3852, allocations: 11.94 kB / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.3852, allocations: 0 / 1.29 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.3854, allocations: 27.95 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.3855, allocations: 4 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.3855, allocations: 7.984 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.967e-05/0.3856, allocations: 99.2 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3856, allocations: 0 / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002441/0.3858, allocations: 12 kB / 1.29 GB, free: 4.281 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 (3): * Single equations (assignments): 3 * 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.001148/0.3869, allocations: 0.8372 MB / 1.291 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000766/0.3877, allocations: 199.7 kB / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3877, allocations: 0 / 1.291 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.3881, allocations: 103.8 kB / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.3884, allocations: 288 / 1.291 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003733/0.3921, allocations: 1.861 MB / 1.293 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.751e-05/0.3922, allocations: 79.23 kB / 1.293 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.715e-05/0.3923, allocations: 19.98 kB / 1.293 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.084e-05/0.3924, allocations: 15.44 kB / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of SimCode: time 9.62e-07/0.3924, allocations: 0 / 1.293 GB, free: 1.051 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.4157, allocations: 2.181 MB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.92, allocations: 8.75 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.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.834738595061935]