Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 107.3 kB / 16.41 MB, free: 6.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 191.4 kB / 17.34 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9115/0.9129, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002444/0.9154, allocations: 1.468 MB / 1.21 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003969/0.9158, allocations: 139.6 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.9159, allocations: 4 kB / 1.21 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.9159, allocations: 3.938 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.127e-05/0.916, allocations: 11.92 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002264/0.9162, allocations: 31.89 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.9163, allocations: 39.86 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001404/0.9165, allocations: 27.98 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.421e-05/0.9165, allocations: 11.94 kB / 1.21 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.798e-05/0.9166, allocations: 27.89 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.737e-05/0.9166, allocations: 4 kB / 1.21 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.9167, allocations: 27.98 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.747e-05/0.9167, allocations: 11.98 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.9168, allocations: 15.88 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.9169, allocations: 67.78 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.9169, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9169, allocations: 4 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.9169, allocations: 3.938 kB / 1.21 GB, free: 11.7 MB / 0.9356 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.0005024/0.9175, allocations: 355.2 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.9175, allocations: 12.03 kB / 1.211 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001101/0.9186, allocations: 216.5 kB / 1.211 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.9187, allocations: 170.2 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.9188, allocations: 384 / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.9188, allocations: 8.375 kB / 1.211 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005731/0.9194, allocations: 186 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.9194, allocations: 192 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.9194, allocations: 7.938 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9194, allocations: 0 / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008474/0.9203, allocations: 283.5 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009069/0.9212, allocations: 445.2 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.9223, allocations: 286.2 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/0.9227, allocations: 100.8 kB / 1.212 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.9228, allocations: 3.984 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.9228, allocations: 38.5 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=3): time 1.203e-06/0.9228, allocations: 0 / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3): time 0.001201/0.924, allocations: 309.3 kB / 1.213 GB, free: 9.164 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.9241, allocations: 51.41 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.135e-05/0.9242, allocations: 121.8 kB / 1.213 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.9242, allocations: 25.7 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.9242, allocations: 88.12 kB / 1.213 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.9243, allocations: 11.81 kB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.92e-05/0.9243, allocations: 17.72 kB / 1.213 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.9244, allocations: 318.8 kB / 1.213 GB, free: 8.496 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003626/0.9248, allocations: 103.8 kB / 1.213 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.9252, allocations: 96.05 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006882/0.9259, allocations: 172.6 kB / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.9259, allocations: 0 / 1.214 GB, free: 8.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007583/0.9267, allocations: 217.5 kB / 1.214 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.9267, allocations: 4 kB / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.9267, allocations: 384 / 1.214 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.9267, allocations: 3.984 kB / 1.214 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002558/0.927, allocations: 31.95 kB / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.927, allocations: 0 / 1.214 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.9272, allocations: 31.89 kB / 1.214 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.9272, allocations: 11.92 kB / 1.214 GB, free: 7.828 MB / 0.9356 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 8.683e-05/0.9273, allocations: 117.8 kB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.9273, allocations: 7.906 kB / 1.214 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.523e-05/0.9274, allocations: 3.906 kB / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.9274, allocations: 0 / 1.214 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9274, allocations: 7.984 kB / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.9274, allocations: 0 / 1.214 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002252/0.9277, allocations: 209.5 kB / 1.214 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.9277, allocations: 8 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.9279, allocations: 31.95 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.9279, allocations: 4 kB / 1.214 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.9279, allocations: 4 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.9279, allocations: 3.984 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.928, allocations: 0 / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.9288, allocations: 315.2 kB / 1.215 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.9288, allocations: 81.05 kB / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.9289, allocations: 0 / 1.215 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.9291, allocations: 31.89 kB / 1.215 GB, free: 6.914 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.9292, allocations: 7.984 kB / 1.215 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.9292, allocations: 4 kB / 1.215 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.03e-05/0.9292, allocations: 95.27 kB / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9292, allocations: 0 / 1.215 GB, free: 6.809 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002545/0.9295, allocations: 12 kB / 1.215 GB, free: 6.797 MB / 0.9356 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.0001236/0.9296, allocations: 99.19 kB / 1.215 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007991/0.9304, allocations: 199.7 kB / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.9304, allocations: 0 / 1.215 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0003721/0.9308, allocations: 103.8 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002529/0.9311, allocations: 1.875 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009528/0.932, allocations: 294 kB / 1.215 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.9323, allocations: 0.6846 MB / 1.216 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.498e-05/0.9324, allocations: 19.7 kB / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9324, allocations: 0 / 1.216 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.002629/0.9351, allocations: 1.18 MB / 1.217 GB, free: 4.168 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches