Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001883/0.001883, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002063/0.002063, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 0.4892 GB / 0.7944 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_SmoothMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.SmoothMin,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin",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.002106/0.002106, allocations: 62.41 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4213/0.4234, allocations: 176.1 MB / 1.325 GB, free: 2.336 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003303/0.4267, allocations: 1.478 MB / 1.327 GB, free: 0.8516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005091/0.4272, allocations: 139.6 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.996e-05/0.4273, allocations: 3.938 kB / 1.327 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.969e-05/0.4273, allocations: 3.938 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.35e-05/0.4274, allocations: 3.938 kB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.4277, allocations: 31.97 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.4278, allocations: 51.78 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.428, allocations: 16.25 kB / 1.327 GB, free: 0.6055 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.61e-05/0.428, allocations: 15.94 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.59e-05/0.4281, allocations: 15.92 kB / 1.327 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.4281, allocations: 4 kB / 1.327 GB, free: 0.5703 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4282, allocations: 35.97 kB / 1.327 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.4283, allocations: 4 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.611e-05/0.4283, allocations: 23.84 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.4285, allocations: 63.81 kB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4285, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.023e-06/0.4285, allocations: 0 / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4285, allocations: 4 kB / 1.327 GB, free: 452 kB / 1.014 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.0005916/0.4291, allocations: 290.1 kB / 1.327 GB, free: 128 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4291, allocations: 12.03 kB / 1.327 GB, free: 116 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.346e-05/0.4292, allocations: 34.75 kB / 1.327 GB, free: 72 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.4303, allocations: 208.5 kB / 1.327 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.4304, allocations: 118.4 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4305, allocations: 12.31 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.4305, allocations: 384 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006003/0.4311, allocations: 194 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4311, allocations: 7.875 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.4311, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.4311, allocations: 0 / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008761/0.432, allocations: 287.6 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.433, allocations: 392.4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.4341, allocations: 282.2 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003663/0.4345, allocations: 108.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.4345, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4346, allocations: 30.56 kB / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4346, allocations: 0 / 1.329 GB, free: 14.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001206/0.4358, allocations: 317.2 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.4358, allocations: 51.41 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.4359, allocations: 121.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.193e-05/0.436, allocations: 25.7 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.188e-05/0.436, allocations: 88.12 kB / 1.329 GB, free: 13.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.4361, allocations: 11.95 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.404e-05/0.4361, allocations: 17.7 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4363, allocations: 318.8 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003826/0.4367, allocations: 95.88 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.437, allocations: 95.88 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006795/0.4377, allocations: 176.6 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4377, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007828/0.4385, allocations: 221.3 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.4385, allocations: 4 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4385, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.4385, allocations: 0 / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.4388, allocations: 31.95 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.4388, allocations: 0 / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.439, allocations: 35.88 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.439, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 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.0001025/0.4391, allocations: 118.3 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.4392, allocations: 11.89 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.808e-05/0.4392, allocations: 15.98 kB / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4392, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.4392, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4392, allocations: 0 / 1.33 GB, free: 12.56 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.4395, allocations: 168.7 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.4395, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.4397, allocations: 43.88 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.4397, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.4397, allocations: 4 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4397, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4397, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008616/0.4406, allocations: 315.5 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.869e-05/0.4406, allocations: 8.047 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.4406, allocations: 11.97 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.4409, allocations: 27.95 kB / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.4409, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.4409, allocations: 0 / 1.331 GB, free: 11.94 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.441, allocations: 99.58 kB / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.441, allocations: 0 / 1.331 GB, free: 11.84 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002512/0.4412, allocations: 19.94 kB / 1.331 GB, free: 11.82 MB / 1.029 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.001192/0.4424, allocations: 0.8428 MB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007884/0.4432, allocations: 199.7 kB / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4432, allocations: 0 / 1.332 GB, free: 10.76 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.4436, allocations: 99.81 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002669/0.4439, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003866/0.4477, allocations: 1.842 MB / 1.334 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.733e-05/0.4478, allocations: 71.34 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.691e-05/0.4479, allocations: 19.98 kB / 1.334 GB, free: 8.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.448, allocations: 19.42 kB / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of SimCode: time 7.81e-07/0.448, allocations: 0 / 1.334 GB, free: 8.605 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03282/0.4808, allocations: 2.552 MB / 1.337 GB, free: 6.195 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.66, allocations: 8.047 kB / 1.337 GB, free: 6.188 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_SmoothMin.fmu > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.851344227790833]