Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001287/0.001287, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001299/0.001299, allocations: 186 kB / 20.78 MB, free: 1.547 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.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7628 GB, free: 15.14 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 71.89 kB / 1.107 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8973, allocations: 168.7 MB / 1.272 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.00245/0.8998, allocations: 1.492 MB / 1.273 GB, free: 6.887 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003798/0.9001, allocations: 148.3 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.72e-05/0.9002, allocations: 1.094 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.694e-05/0.9002, allocations: 0.9844 kB / 1.274 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.595e-05/0.9003, allocations: 5.906 kB / 1.274 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.9005, allocations: 32.83 kB / 1.274 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.9006, allocations: 42.56 kB / 1.274 GB, free: 6.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.9008, allocations: 15.91 kB / 1.274 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.936e-05/0.9008, allocations: 16.3 kB / 1.274 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.205e-05/0.9009, allocations: 18.17 kB / 1.274 GB, free: 6.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.9009, allocations: 7.938 kB / 1.274 GB, free: 6.723 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.901, allocations: 40.53 kB / 1.274 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.901, allocations: 7.859 kB / 1.274 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.106e-05/0.901, allocations: 18.47 kB / 1.274 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.9012, allocations: 72.16 kB / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.9012, allocations: 0 / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9012, allocations: 0 / 1.274 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.9012, allocations: 0.7188 kB / 1.274 GB, free: 6.664 MB / 0.9981 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.0004447/0.9017, allocations: 358.2 kB / 1.274 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9017, allocations: 13.28 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.9028, allocations: 214.5 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.894e-05/0.9029, allocations: 166.8 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.612e-05/0.9029, allocations: 2.281 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.9029, allocations: 4.328 kB / 1.275 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005676/0.9035, allocations: 199.4 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.9035, allocations: 192 / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.9035, allocations: 4.656 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.9035, allocations: 0.7188 kB / 1.275 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008335/0.9043, allocations: 281.6 kB / 1.275 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008969/0.9052, allocations: 435.8 kB / 1.275 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.9063, allocations: 288.6 kB / 1.276 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003499/0.9067, allocations: 106.6 kB / 1.276 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.9067, allocations: 1.125 kB / 1.276 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.9067, allocations: 31.97 kB / 1.276 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.9067, allocations: 3.938 kB / 1.276 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.001117/0.9078, allocations: 306.2 kB / 1.276 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.9079, allocations: 56.03 kB / 1.276 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.09e-05/0.9079, allocations: 118 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.908, allocations: 26.73 kB / 1.276 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.748e-05/0.908, allocations: 93.77 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.908, allocations: 13.69 kB / 1.276 GB, free: 5.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.9081, allocations: 22.89 kB / 1.276 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.059e-05/0.9081, allocations: 317.6 kB / 1.277 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.9085, allocations: 95.7 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.9088, allocations: 95.92 kB / 1.277 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.9095, allocations: 169.7 kB / 1.277 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.9095, allocations: 0 / 1.277 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007146/0.9102, allocations: 220.3 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.9102, allocations: 5.594 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.9102, allocations: 0.7188 kB / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9102, allocations: 0 / 1.277 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.9105, allocations: 41.53 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.9105, allocations: 0.875 kB / 1.277 GB, free: 4.664 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.9107, allocations: 31.39 kB / 1.277 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.9107, allocations: 1.438 kB / 1.277 GB, free: 4.66 MB / 0.9981 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 6.118e-05/0.9107, allocations: 120.5 kB / 1.278 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.9108, allocations: 2.938 kB / 1.278 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.326e-05/0.9108, allocations: 11.59 kB / 1.278 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.9108, allocations: 0.625 kB / 1.278 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-06/0.9108, allocations: 0.75 kB / 1.278 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.9108, allocations: 0.5625 kB / 1.278 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.911, allocations: 209.5 kB / 1.278 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.911, allocations: 0 / 1.278 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.9113, allocations: 36.88 kB / 1.278 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.9113, allocations: 0.875 kB / 1.278 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.9113, allocations: 6.266 kB / 1.278 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.9113, allocations: 4.375 kB / 1.278 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.9113, allocations: 1.094 kB / 1.278 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.912, allocations: 319.7 kB / 1.278 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.371e-05/0.9121, allocations: 82.73 kB / 1.278 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.9121, allocations: 5.484 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.9123, allocations: 26.67 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.9123, allocations: 3.844 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.9124, allocations: 1.734 kB / 1.278 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.9124, allocations: 96.81 kB / 1.278 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.9124, allocations: 3.938 kB / 1.278 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002378/0.9126, allocations: 16.67 kB / 1.278 GB, free: 3.941 MB / 0.9981 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.0001025/0.9127, allocations: 100.5 kB / 1.278 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007872/0.9135, allocations: 196.8 kB / 1.279 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.9135, allocations: 5 kB / 1.279 GB, free: 3.816 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.9139, allocations: 99.22 kB / 1.279 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002558/0.9141, allocations: 2.906 kB / 1.279 GB, free: 3.801 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.9151, allocations: 267.4 kB / 1.279 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.9152, allocations: 0.6872 MB / 1.28 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.965e-05/0.9153, allocations: 21.55 kB / 1.28 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.604e-05/0.9153, allocations: 10.83 kB / 1.28 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.9153, allocations: 1.031 kB / 1.28 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of Templates: time 0.003797/0.9191, allocations: 0.9484 MB / 1.281 GB, free: 2.867 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.797834318131208]