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.001733/0.001733, allocations: 113 kB / 17.6 MB, free: 4.684 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.001956/0.001956, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.121 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.557/2.557, allocations: 443.5 MB / 0.7304 GB, free: 13.86 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.002614/0.002614, allocations: 71.89 kB / 1.059 GB, free: 368 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.332, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002962/0.335, allocations: 1.477 MB / 1.218 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004684/0.3355, allocations: 152.3 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.684e-05/0.3355, allocations: 4 kB / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.23e-05/0.3356, allocations: 0 / 1.218 GB, free: 13.69 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.398e-05/0.3356, allocations: 3.938 kB / 1.218 GB, free: 13.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000257/0.3359, allocations: 31.89 kB / 1.218 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001273/0.336, allocations: 35.92 kB / 1.218 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3362, allocations: 23.98 kB / 1.218 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.095e-05/0.3362, allocations: 15.92 kB / 1.218 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.661e-05/0.3363, allocations: 19.92 kB / 1.218 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3363, allocations: 8 kB / 1.218 GB, free: 13.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.31e-05/0.3364, allocations: 35.91 kB / 1.218 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.3364, allocations: 11.92 kB / 1.218 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.703e-05/0.3364, allocations: 27.86 kB / 1.218 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3366, allocations: 63.73 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3366, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3366, allocations: 0 / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.3366, allocations: 0 / 1.218 GB, free: 13.41 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.0005368/0.3371, allocations: 363.2 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3371, allocations: 12.03 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001047/0.3382, allocations: 212.5 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.3383, allocations: 164.4 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3384, allocations: 4.375 kB / 1.219 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.2e-05/0.3384, allocations: 4.375 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000579/0.339, allocations: 198 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.339, allocations: 4.125 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.339, allocations: 7.938 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.339, allocations: 0 / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.3398, allocations: 283.6 kB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.3409, allocations: 441.2 kB / 1.22 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3419, allocations: 282.2 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/0.3423, allocations: 108.8 kB / 1.22 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.3423, allocations: 4 kB / 1.22 GB, free: 11.21 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.3423, allocations: 30.56 kB / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.3423, allocations: 0 / 1.22 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.001144/0.3435, allocations: 309.3 kB / 1.22 GB, free: 10.87 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.3435, allocations: 51.41 kB / 1.22 GB, free: 10.8 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/0.3436, allocations: 121.8 kB / 1.22 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.3436, allocations: 25.7 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.3437, allocations: 96.12 kB / 1.221 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.125e-05/0.3437, allocations: 11.91 kB / 1.221 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.3438, allocations: 17.7 kB / 1.221 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3439, allocations: 322.8 kB / 1.221 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.3443, allocations: 92.25 kB / 1.221 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/0.3446, allocations: 95.88 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006112/0.3452, allocations: 172.9 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3452, allocations: 0 / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007002/0.3459, allocations: 225.4 kB / 1.221 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3459, allocations: 7.938 kB / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3459, allocations: 0 / 1.221 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.346, allocations: 4 kB / 1.221 GB, free: 9.594 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002445/0.3462, allocations: 31.95 kB / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3462, allocations: 0 / 1.222 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001971/0.3464, allocations: 35.88 kB / 1.222 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.3464, allocations: 0 / 1.222 GB, free: 9.527 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 9.872e-05/0.3465, allocations: 121.7 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.3465, allocations: 7.953 kB / 1.222 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.111e-05/0.3466, allocations: 19.89 kB / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3466, allocations: 0 / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.3466, allocations: 0 / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3466, allocations: 0 / 1.222 GB, free: 9.363 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002506/0.3469, allocations: 209.5 kB / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3469, allocations: 0 / 1.222 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.3471, allocations: 31.95 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3471, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.3471, allocations: 3.984 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3471, allocations: 4 kB / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3471, allocations: 0 / 1.222 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008004/0.3479, allocations: 315.1 kB / 1.222 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.348, allocations: 81.11 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.348, allocations: 4 kB / 1.222 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.3482, allocations: 23.95 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.3483, allocations: 11.98 kB / 1.222 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.3483, allocations: 0 / 1.222 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.147e-05/0.3484, allocations: 95.27 kB / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3484, allocations: 0 / 1.222 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002369/0.3486, allocations: 12 kB / 1.222 GB, free: 8.504 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.0001669/0.3488, allocations: 103.2 kB / 1.223 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007688/0.3495, allocations: 195.7 kB / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3495, allocations: 0 / 1.223 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3499, allocations: 104.2 kB / 1.223 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3501, allocations: 9.656 kB / 1.223 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.3512, allocations: 274.2 kB / 1.223 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.3516, allocations: 0.6924 MB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 8.693e-05/0.3516, allocations: 19.98 kB / 1.224 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.434e-05/0.3517, allocations: 7.438 kB / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of SimCode: time 9.62e-07/0.3517, allocations: 0 / 1.224 GB, free: 7.055 MB / 0.9669 GB Notification: Performance of Templates: time 0.003968/0.3557, allocations: 0.9466 MB / 1.225 GB, free: 6.105 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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.980910247191787]