Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001458/0.001458, allocations: 114.2 kB / 17.13 MB, free: 5.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 197.2 kB / 20.08 MB, free: 3 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.498/1.498, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.715/2.715, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_10_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_10_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 67.89 kB / 1.057 GB, free: 2.047 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2943, allocations: 160.7 MB / 1.214 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002806/0.2971, allocations: 1.465 MB / 1.216 GB, free: 15.52 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.2976, allocations: 148.3 kB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.726e-05/0.2976, allocations: 0 / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.2977, allocations: 4 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.966e-05/0.2977, allocations: 3.938 kB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.298, allocations: 27.91 kB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000114/0.2981, allocations: 47.89 kB / 1.216 GB, free: 15.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.2982, allocations: 12 kB / 1.216 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.2982, allocations: 15.92 kB / 1.216 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.979e-05/0.2983, allocations: 23.92 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.2983, allocations: 4 kB / 1.216 GB, free: 15.24 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.2984, allocations: 31.97 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.2984, allocations: 11.94 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.938e-05/0.2985, allocations: 27.84 kB / 1.216 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.2986, allocations: 59.75 kB / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2986, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2986, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.401e-06/0.2986, allocations: 0 / 1.216 GB, free: 15.11 MB / 0.9669 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.0005375/0.2992, allocations: 367.2 kB / 1.216 GB, free: 14.7 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2992, allocations: 12.03 kB / 1.216 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.3004, allocations: 212.5 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.3005, allocations: 172.4 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3005, allocations: 384 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.463e-05/0.3005, allocations: 4.375 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006194/0.3012, allocations: 198 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3012, allocations: 4.125 kB / 1.217 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.3012, allocations: 3.938 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3012, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009318/0.3021, allocations: 287.5 kB / 1.217 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009622/0.3031, allocations: 437.2 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.3043, allocations: 294.2 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003914/0.3047, allocations: 100.7 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.3047, allocations: 0 / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.3048, allocations: 30.56 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3048, allocations: 0 / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001276/0.306, allocations: 309.3 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3061, allocations: 55.41 kB / 1.218 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.3062, allocations: 121.8 kB / 1.218 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.3062, allocations: 25.7 kB / 1.218 GB, free: 12.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.3063, allocations: 92.14 kB / 1.219 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.3063, allocations: 11.91 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.724e-05/0.3064, allocations: 17.7 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.3065, allocations: 322.8 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.3069, allocations: 95.88 kB / 1.219 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.3073, allocations: 108 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007156/0.308, allocations: 164.6 kB / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.308, allocations: 0 / 1.219 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000804/0.3088, allocations: 213.5 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.3088, allocations: 4 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.3088, allocations: 4 kB / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3088, allocations: 0 / 1.219 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.3091, allocations: 35.88 kB / 1.219 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3091, allocations: 4 kB / 1.219 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002071/0.3093, allocations: 39.84 kB / 1.219 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.3093, allocations: 4 kB / 1.219 GB, free: 11.21 MB / 0.9669 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.0001049/0.3095, allocations: 117.8 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3095, allocations: 4.312 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.787e-05/0.3095, allocations: 11.91 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.3095, allocations: 4 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3095, allocations: 0 / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3095, allocations: 3.938 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.3098, allocations: 213.6 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3098, allocations: 0 / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.3101, allocations: 35.94 kB / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3101, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.3101, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3101, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3101, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008614/0.3109, allocations: 319.1 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.046e-05/0.311, allocations: 81.11 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.311, allocations: 7.984 kB / 1.22 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.3112, allocations: 31.95 kB / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.091e-05/0.3113, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.3113, allocations: 0 / 1.22 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.584e-05/0.3114, allocations: 95.27 kB / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3114, allocations: 0 / 1.22 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002458/0.3116, allocations: 15.95 kB / 1.22 GB, free: 10.19 MB / 0.9669 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.0001268/0.3117, allocations: 107.2 kB / 1.22 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0008274/0.3126, allocations: 195.7 kB / 1.221 GB, free: 9.883 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3126, allocations: 3.938 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0004136/0.313, allocations: 99.86 kB / 1.221 GB, free: 9.781 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.3132, allocations: 8 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009827/0.3142, allocations: 282.7 kB / 1.221 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.3145, allocations: 0.6962 MB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.367e-05/0.3146, allocations: 7.438 kB / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of SimCode: time 4.21e-07/0.3146, allocations: 0 / 1.222 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of Templates: time 0.002984/0.3176, allocations: 1.187 MB / 1.223 GB, free: 7.551 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.4778938209638]