Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001762/0.001762, allocations: 113.9 kB / 17.61 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.001952/0.001952, allocations: 185.9 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.561/2.561, allocations: 443.5 MB / 0.7304 GB, free: 14.05 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 63.89 kB / 1.059 GB, free: 360 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3312, allocations: 160.7 MB / 1.216 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001957/0.3332, allocations: 0.6286 MB / 1.217 GB, free: 14.69 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.3353, allocations: 1.452 MB / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.146e-05/0.3353, allocations: 0 / 1.218 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 6.759e-05/0.3354, allocations: 3.938 kB / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.664e-05/0.3354, allocations: 0 / 1.218 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007344/0.3361, allocations: 215.5 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.565e-05/0.3362, allocations: 35.91 kB / 1.218 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.3363, allocations: 4 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.3363, allocations: 11.98 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.3364, allocations: 27.91 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.3364, allocations: 0 / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004166/0.3368, allocations: 259.6 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.379e-05/0.3368, allocations: 11.92 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.3369, allocations: 11.94 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3372, allocations: 223.4 kB / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3372, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3372, allocations: 0 / 1.219 GB, free: 12.44 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3372, allocations: 0 / 1.219 GB, free: 12.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005369/0.3377, allocations: 412.6 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3378, allocations: 12.03 kB / 1.219 GB, free: 11.97 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3378, allocations: 4.891 kB / 1.219 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.338, allocations: 168.4 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.338, allocations: 384 / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.338, allocations: 8.375 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.3382, allocations: 77.95 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3382, allocations: 0 / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.3382, allocations: 4 kB / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.3382, allocations: 0 / 1.22 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.3383, allocations: 35.92 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.3385, allocations: 169.5 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.978e-05/0.3386, allocations: 50.55 kB / 1.22 GB, free: 11.36 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.275e-05/0.3387, allocations: 44.86 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.3387, allocations: 4 kB / 1.22 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.3387, allocations: 34.5 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.3387, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003413/0.339, allocations: 183.2 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.328e-05/0.3391, allocations: 81.11 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3392, allocations: 118.1 kB / 1.22 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.3392, allocations: 29.7 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.3393, allocations: 92.09 kB / 1.22 GB, free: 10.72 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.371e-05/0.3393, allocations: 23.81 kB / 1.22 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.3394, allocations: 25.7 kB / 1.22 GB, free: 10.67 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3395, allocations: 310.8 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/0.3396, allocations: 39.97 kB / 1.221 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.3396, allocations: 35.97 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.3398, allocations: 140.4 kB / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3398, allocations: 0 / 1.221 GB, free: 10.13 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001955/0.34, allocations: 155.3 kB / 1.221 GB, free: 9.965 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 4.556e-05/0.34, allocations: 41.64 kB / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.34, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.3401, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3401, allocations: 0 / 1.221 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3401, allocations: 7.984 kB / 1.221 GB, free: 9.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.3402, allocations: 11.89 kB / 1.221 GB, free: 9.898 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3402, allocations: 4 kB / 1.221 GB, free: 9.895 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001121/0.3403, allocations: 147.5 kB / 1.221 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.3403, allocations: 15.97 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.3404, allocations: 8.359 kB / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3404, allocations: 0 / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3404, allocations: 0 / 1.221 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3404, allocations: 3.938 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001417/0.3405, allocations: 169.6 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3405, allocations: 0 / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.3405, allocations: 0 / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3405, allocations: 3.938 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.3405, allocations: 7.984 kB / 1.222 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3405, allocations: 4 kB / 1.222 GB, free: 9.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3405, allocations: 4 kB / 1.222 GB, free: 9.469 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3408, allocations: 194.7 kB / 1.222 GB, free: 9.254 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.775e-05/0.3409, allocations: 85 kB / 1.222 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.3409, allocations: 4 kB / 1.222 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.637e-05/0.3409, allocations: 7.984 kB / 1.222 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.504e-05/0.3409, allocations: 7.984 kB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.341, allocations: 8 kB / 1.222 GB, free: 9.125 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.39e-05/0.341, allocations: 91.3 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.341, allocations: 3.938 kB / 1.222 GB, free: 9.031 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003258/0.3414, allocations: 79.86 kB / 1.222 GB, free: 8.953 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0003312/0.3417, allocations: 155.1 kB / 1.222 GB, free: 8.793 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000285/0.342, allocations: 163.3 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.342, allocations: 0 / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.3421, allocations: 119.3 kB / 1.222 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3423, allocations: 8.078 kB / 1.222 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.3426, allocations: 196.7 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.343, allocations: 0.6846 MB / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.47e-06/0.343, allocations: 0 / 1.223 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.072e-05/0.343, allocations: 11.44 kB / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of SimCode: time 4.5e-07/0.343, allocations: 0 / 1.223 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of Templates: time 0.005273/0.3482, allocations: 2.067 MB / 1.225 GB, free: 5.492 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.943511035293341]