Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001308/0.001308, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.001442/0.001442, allocations: 211 kB / 23 MB, free: 4.934 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.304/3.304, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_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.002116/0.002116, allocations: 72.09 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4241/0.4262, allocations: 176.1 MB / 1.327 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003115/0.4293, allocations: 1.486 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0004488/0.4298, allocations: 135.6 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.4298, allocations: 7.938 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.236e-05/0.4299, allocations: 0 / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.651e-05/0.43, allocations: 3.938 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.4302, allocations: 31.91 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.4303, allocations: 51.84 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001328/0.4305, allocations: 11.98 kB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.817e-05/0.4305, allocations: 23.92 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.456e-05/0.4306, allocations: 15.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.4306, allocations: 4 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.481e-05/0.4307, allocations: 35.91 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.4307, allocations: 11.94 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.331e-05/0.4307, allocations: 15.92 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.4309, allocations: 59.8 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.4309, allocations: 3.938 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4309, allocations: 0 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.4309, allocations: 4 kB / 1.329 GB, free: 15.07 MB / 1.029 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.0005301/0.4314, allocations: 294.1 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.4315, allocations: 8.031 kB / 1.329 GB, free: 14.74 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.4326, allocations: 204.6 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.4327, allocations: 126.4 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.4327, allocations: 4.375 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.4328, allocations: 384 / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005679/0.4333, allocations: 198 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.4333, allocations: 192 / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.4334, allocations: 3.938 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.4334, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008465/0.4342, allocations: 279.6 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009428/0.4352, allocations: 365.1 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.4362, allocations: 286.1 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.4366, allocations: 104.8 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.4366, allocations: 0 / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.4366, allocations: 34.56 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.4366, allocations: 0 / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.001138/0.4378, allocations: 305.3 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.4378, allocations: 55.34 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.402e-05/0.4379, allocations: 109.8 kB / 1.331 GB, free: 12.6 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.4379, allocations: 29.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.239e-05/0.438, allocations: 88.08 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.438, allocations: 15.89 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.365e-05/0.4381, allocations: 13.72 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.4382, allocations: 318.8 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003682/0.4386, allocations: 95.88 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.4389, allocations: 99.75 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006392/0.4396, allocations: 172.6 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.056e-06/0.4396, allocations: 7.922 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0007182/0.4403, allocations: 217.4 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.4403, allocations: 11.98 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.4403, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.4403, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/0.4406, allocations: 35.95 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.4406, allocations: 0 / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.4408, allocations: 28.28 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.4408, allocations: 3.984 kB / 1.332 GB, free: 11.45 MB / 1.029 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.0001106/0.4409, allocations: 122.3 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.4409, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.004e-05/0.441, allocations: 15.98 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.441, allocations: 3.984 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.441, allocations: 0 / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.488e-05/0.441, allocations: 7.953 kB / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.441, allocations: 0 / 1.332 GB, free: 11.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002203/0.4413, allocations: 27.95 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.4413, allocations: 7.938 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000913/0.4422, allocations: 324.7 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007924/0.443, allocations: 382.6 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003375/0.4433, allocations: 99.86 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.238e-05/0.4434, allocations: 83.28 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of Backend: time 6.71e-07/0.4434, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007595/0.4442, allocations: 184 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of SimCode: time 0.0006335/0.4448, allocations: 0.5887 MB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of Templates: time 0.004991/0.4498, allocations: 1.827 MB / 1.336 GB, free: 7.703 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.48871572099597]