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.001282/0.001282, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001598/0.001598, allocations: 218.5 kB / 22.26 MB, free: 5.121 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.567/1.567, allocations: 230.6 MB / 256 MB, free: 7.961 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.342/3.342, allocations: 0.49 GB / 0.7951 GB, free: 33.31 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.00203/0.00203, allocations: 63.28 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.442/0.444, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003161/0.4471, allocations: 1.502 MB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0005395/0.4477, allocations: 139.6 kB / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.235e-05/0.4477, allocations: 0 / 1.328 GB, free: 312 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.117e-05/0.4478, allocations: 3.938 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.878e-05/0.4479, allocations: 3.938 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000268/0.4481, allocations: 39.91 kB / 1.328 GB, free: 264 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.4483, allocations: 39.86 kB / 1.328 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.4484, allocations: 16.25 kB / 1.328 GB, free: 208 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.772e-05/0.4485, allocations: 19.92 kB / 1.328 GB, free: 188 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.4485, allocations: 23.92 kB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.4485, allocations: 4 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.4486, allocations: 27.98 kB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.472e-05/0.4487, allocations: 15.92 kB / 1.328 GB, free: 116 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.4487, allocations: 11.94 kB / 1.328 GB, free: 104 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.4489, allocations: 67.72 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4489, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4489, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.088e-05/0.4489, allocations: 4 kB / 1.328 GB, free: 32 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.0005575/0.4494, allocations: 290.3 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.4495, allocations: 8.031 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.121e-05/0.4495, allocations: 42.73 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.4506, allocations: 204.5 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.4507, allocations: 114.5 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4507, allocations: 8.375 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.197e-05/0.4508, allocations: 4.375 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000583/0.4513, allocations: 194 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.4514, allocations: 3.938 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.4514, allocations: 0 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.4514, allocations: 4 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000847/0.4522, allocations: 279.6 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009675/0.4532, allocations: 412.3 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/0.4543, allocations: 286.2 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003404/0.4546, allocations: 100.8 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.4546, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.4547, allocations: 38.5 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.282e-06/0.4547, allocations: 3.938 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001216/0.4559, allocations: 309.3 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.4559, allocations: 55.39 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.4561, allocations: 121.8 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4561, allocations: 25.7 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.4562, allocations: 88.14 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.767e-05/0.4562, allocations: 11.94 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.4563, allocations: 13.72 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.4564, allocations: 322.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003593/0.4568, allocations: 95.88 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/0.4571, allocations: 100 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.4577, allocations: 172.7 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4577, allocations: 0 / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006987/0.4584, allocations: 217.4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.4584, allocations: 4 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.4584, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4585, allocations: 4 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002555/0.4587, allocations: 35.94 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.4587, allocations: 0 / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.4589, allocations: 31.89 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.4589, allocations: 3.984 kB / 1.331 GB, free: 12.3 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.0001164/0.459, allocations: 125.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.324e-05/0.4591, allocations: 11.95 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/0.4591, allocations: 8 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.4591, allocations: 4 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4591, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.4591, allocations: 0 / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.4594, allocations: 188.7 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4594, allocations: 3.938 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002245/0.4596, allocations: 35.94 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4596, allocations: 4 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4596, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4596, allocations: 384 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4596, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/0.4605, allocations: 315.2 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.4605, allocations: 11.95 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.4605, allocations: 3.938 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.4607, allocations: 27.95 kB / 1.332 GB, free: 11.5 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.644e-05/0.4608, allocations: 7.938 kB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.4608, allocations: 3.984 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.896e-05/0.4609, allocations: 95.27 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4609, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002436/0.4611, allocations: 15.94 kB / 1.332 GB, free: 11.37 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.00123/0.4624, allocations: 0.8372 MB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000783/0.4631, allocations: 199.7 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.4631, allocations: 4 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/0.4635, allocations: 91.88 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.4638, allocations: 9.406 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.4675, allocations: 1.84 MB / 1.335 GB, free: 8.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.4678, allocations: 0.6885 MB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.978e-05/0.4679, allocations: 19.98 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.946e-05/0.468, allocations: 23.42 kB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.468, allocations: 0 / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.499, allocations: 2.086 MB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.36, allocations: 6.828 kB / 1.338 GB, free: 5.586 MB / 1.029 GB " [Timeout remaining time 289] (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.55999637604691]