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.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.001274/0.001274, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.00131/0.00131, allocations: 157.1 kB / 23.01 MB, free: 4.605 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.417/1.417, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.892/2.892, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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: translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [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.002151/0.002151, allocations: 63.91 kB / 1.009 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7992, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002241/0.8014, allocations: 1.485 MB / 1.188 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0003876/0.8018, allocations: 137.1 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.198e-05/0.8018, allocations: 0.9375 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.8019, allocations: 1.719 kB / 1.188 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 5.728e-05/0.8019, allocations: 5.641 kB / 1.188 GB, free: 15.08 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002176/0.8021, allocations: 37.23 kB / 1.188 GB, free: 15.06 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.8022, allocations: 42.64 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.8023, allocations: 11.67 kB / 1.188 GB, free: 15.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.668e-05/0.8024, allocations: 24.34 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.8024, allocations: 19.7 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.8024, allocations: 2.719 kB / 1.188 GB, free: 15.02 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.272e-05/0.8025, allocations: 29.38 kB / 1.188 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.98e-05/0.8025, allocations: 15.27 kB / 1.188 GB, free: 15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 2.606e-05/0.8026, allocations: 22.3 kB / 1.188 GB, free: 14.98 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.8027, allocations: 65.09 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.8027, allocations: 0.75 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8027, allocations: 0.9062 kB / 1.188 GB, free: 14.96 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.8027, allocations: 0 / 1.188 GB, free: 14.96 MB / 1.076 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.0003721/0.8031, allocations: 281.5 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.377e-05/0.8031, allocations: 13 kB / 1.189 GB, free: 14.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.8042, allocations: 213.9 kB / 1.189 GB, free: 14.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.131e-05/0.8043, allocations: 111 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.8043, allocations: 5.406 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.8043, allocations: 7.719 kB / 1.189 GB, free: 14.54 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.8049, allocations: 191.7 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.8049, allocations: 4.125 kB / 1.189 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.8049, allocations: 5.125 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.8049, allocations: 1.156 kB / 1.189 GB, free: 14.47 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008738/0.8058, allocations: 280.9 kB / 1.19 GB, free: 14.43 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008353/0.8066, allocations: 361.3 kB / 1.19 GB, free: 14.2 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.8078, allocations: 289.4 kB / 1.19 GB, free: 14.13 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003721/0.8082, allocations: 99.75 kB / 1.19 GB, free: 14.11 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.8082, allocations: 5.703 kB / 1.19 GB, free: 14.1 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.23e-05/0.8082, allocations: 32.39 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.8082, allocations: 1.188 kB / 1.19 GB, free: 14.06 MB / 1.076 GB Notification: Performance of matching and sorting (n=3): time 0.001195/0.8094, allocations: 310.2 kB / 1.191 GB, free: 13.98 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.873e-05/0.8094, allocations: 52.66 kB / 1.191 GB, free: 13.92 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.8095, allocations: 113.8 kB / 1.191 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.8095, allocations: 27.69 kB / 1.191 GB, free: 13.78 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.77e-05/0.8095, allocations: 92.27 kB / 1.191 GB, free: 13.69 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.8096, allocations: 10.17 kB / 1.191 GB, free: 13.68 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-05/0.8096, allocations: 19.19 kB / 1.191 GB, free: 13.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.807e-05/0.8096, allocations: 314.6 kB / 1.191 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003738/0.81, allocations: 96.09 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000357/0.8104, allocations: 95.45 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006866/0.8111, allocations: 177.6 kB / 1.192 GB, free: 13.28 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8111, allocations: 1.375 kB / 1.192 GB, free: 13.28 MB / 1.076 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007736/0.8118, allocations: 211.9 kB / 1.192 GB, free: 13.22 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8118, allocations: 4.375 kB / 1.192 GB, free: 13.22 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.8119, allocations: 9 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8119, allocations: 3.938 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.8121, allocations: 33.48 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.8121, allocations: 0.7031 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.8123, allocations: 31.06 kB / 1.192 GB, free: 13.21 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.8123, allocations: 5.953 kB / 1.192 GB, free: 13.2 MB / 1.076 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 5.831e-05/0.8124, allocations: 121.6 kB / 1.192 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.8124, allocations: 9.516 kB / 1.192 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.8125, allocations: 7.266 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.8125, allocations: 0.7031 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8125, allocations: 1.125 kB / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.8125, allocations: 0 / 1.192 GB, free: 13.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.8126, allocations: 144 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8126, allocations: 0.875 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002374/0.8129, allocations: 32.45 kB / 1.192 GB, free: 12.93 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.8129, allocations: 5.953 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.8129, allocations: 4.75 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.8129, allocations: 1.281 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8129, allocations: 0.5625 kB / 1.192 GB, free: 12.92 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007828/0.8137, allocations: 312.1 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-06/0.8137, allocations: 9.828 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.8137, allocations: 1.688 kB / 1.192 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.8139, allocations: 31.11 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.814, allocations: 3.719 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.814, allocations: 1.125 kB / 1.192 GB, free: 12.74 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.943e-05/0.814, allocations: 88.84 kB / 1.193 GB, free: 12.66 MB / 1.076 GB Notification: Performance of sort global known variables: time 9.1e-08/0.814, allocations: 0 / 1.193 GB, free: 12.66 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002434/0.8143, allocations: 12 kB / 1.193 GB, free: 12.66 MB / 1.076 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 8.462e-05/0.8143, allocations: 96.52 kB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0008029/0.8151, allocations: 193.4 kB / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.8151, allocations: 0 / 1.193 GB, free: 12.55 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0003983/0.8155, allocations: 107.3 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.8158, allocations: 6.891 kB / 1.193 GB, free: 12.52 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.8167, allocations: 257.2 kB / 1.193 GB, free: 12.39 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.608e-05/0.8167, allocations: 74.39 kB / 1.193 GB, free: 12.31 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.439e-05/0.8168, allocations: 23.52 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.033e-05/0.8169, allocations: 12.02 kB / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of SimCode: time 3.71e-07/0.8169, allocations: 0 / 1.193 GB, free: 12.3 MB / 1.076 GB Notification: Performance of Templates: time 0.003331/0.8202, allocations: 0.9637 MB / 1.194 GB, free: 12.18 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.357809416018426]