Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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.001315/0.001315, allocations: 79.34 kB / 19.76 MB, free: 2.035 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.001405/0.001405, allocations: 158.7 kB / 23.01 MB, free: 4.941 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.43/1.43, allocations: 177.2 MB / 203.4 MB, free: 8.98 MB / 190.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 2.741/2.741, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] 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.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [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.002067/0.002067, allocations: 67.89 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8566/0.8587, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001635/0.8603, allocations: 0.6163 MB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.8619, allocations: 1.431 MB / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.406e-05/0.8619, allocations: 0 / 1.156 GB, free: 31.98 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 5.081e-05/0.8619, allocations: 10.66 kB / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.26e-05/0.862, allocations: 0 / 1.156 GB, free: 31.97 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.8626, allocations: 225.6 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.037e-05/0.8627, allocations: 36.03 kB / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.8627, allocations: 0 / 1.156 GB, free: 31.89 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.598e-05/0.8627, allocations: 23.33 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.479e-05/0.8628, allocations: 14.83 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.8628, allocations: 2.625 kB / 1.156 GB, free: 31.88 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003818/0.8632, allocations: 272.6 kB / 1.157 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.388e-05/0.8632, allocations: 2.75 kB / 1.157 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.8632, allocations: 16.8 kB / 1.157 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.8635, allocations: 213.3 kB / 1.157 GB, free: 31.74 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.8635, allocations: 0 / 1.157 GB, free: 31.74 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8635, allocations: 4 kB / 1.157 GB, free: 31.74 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8635, allocations: 0 / 1.157 GB, free: 31.74 MB / 1.076 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.0003255/0.8638, allocations: 328.7 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.8639, allocations: 8.344 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.404e-05/0.8639, allocations: 3.5 kB / 1.157 GB, free: 31.42 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.251e-05/0.864, allocations: 127.5 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.864, allocations: 384 / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.864, allocations: 6.125 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.8641, allocations: 110.5 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.8642, allocations: 0 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.8642, allocations: 0 / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.8642, allocations: 4 kB / 1.157 GB, free: 31.2 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.877e-05/0.8642, allocations: 69.3 kB / 1.157 GB, free: 31.16 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.57e-05/0.8643, allocations: 106.1 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.023e-05/0.8644, allocations: 89.7 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.8645, allocations: 70.5 kB / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 8.986e-06/0.8645, allocations: 0 / 1.158 GB, free: 30.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.8645, allocations: 41.47 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.8645, allocations: 0 / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=7): time 0.0002652/0.8648, allocations: 257.8 kB / 1.158 GB, free: 30.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.8648, allocations: 82.62 kB / 1.158 GB, free: 30.63 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.75e-05/0.8648, allocations: 117.8 kB / 1.158 GB, free: 30.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.138e-06/0.8648, allocations: 32.39 kB / 1.158 GB, free: 30.48 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 1.748e-05/0.8649, allocations: 80.14 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.8649, allocations: 29.23 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.8649, allocations: 19.59 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.984e-05/0.865, allocations: 317.1 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.865, allocations: 71.81 kB / 1.159 GB, free: 30.01 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.763e-05/0.8651, allocations: 67.22 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.8652, allocations: 149.9 kB / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.8652, allocations: 0 / 1.159 GB, free: 29.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001481/0.8653, allocations: 186.2 kB / 1.159 GB, free: 29.77 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.8654, allocations: 41.75 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.8654, allocations: 3.938 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.8654, allocations: 0 / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.8654, allocations: 0 / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.8654, allocations: 3.281 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.508e-05/0.8655, allocations: 5.844 kB / 1.159 GB, free: 29.73 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.8655, allocations: 9.781 kB / 1.159 GB, free: 29.73 MB / 1.076 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 6.253e-05/0.8655, allocations: 147.3 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.383e-05/0.8655, allocations: 9.984 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.057e-05/0.8656, allocations: 8.375 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.8656, allocations: 4 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.8656, allocations: 0 / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.8656, allocations: 2.875 kB / 1.159 GB, free: 29.56 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.879e-05/0.8656, allocations: 109.5 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.8656, allocations: 0 / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.8656, allocations: 2.812 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.8656, allocations: 0 / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.8656, allocations: 6.656 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8656, allocations: 3.938 kB / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.8656, allocations: 0 / 1.159 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.8658, allocations: 238.2 kB / 1.16 GB, free: 29.27 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-06/0.8658, allocations: 14.77 kB / 1.16 GB, free: 29.26 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.8658, allocations: 0 / 1.16 GB, free: 29.26 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.8659, allocations: 12.67 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.206e-05/0.8659, allocations: 6.938 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.8659, allocations: 5.781 kB / 1.16 GB, free: 29.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 2.663e-05/0.8659, allocations: 95.38 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8659, allocations: 0 / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002588/0.8662, allocations: 73.06 kB / 1.16 GB, free: 29.16 MB / 1.076 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.0002302/0.8664, allocations: 154.8 kB / 1.16 GB, free: 29.06 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002029/0.8666, allocations: 237.2 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.8666, allocations: 0 / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.8667, allocations: 151.5 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001419/0.8669, allocations: 5.719 kB / 1.16 GB, free: 28.8 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002445/0.8671, allocations: 198.9 kB / 1.16 GB, free: 28.64 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.8671, allocations: 72.19 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.879e-06/0.8671, allocations: 0 / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.265e-06/0.8672, allocations: 8.5 kB / 1.161 GB, free: 28.57 MB / 1.076 GB Notification: Performance of SimCode: time 3.11e-07/0.8672, allocations: 3.938 kB / 1.161 GB, free: 28.56 MB / 1.076 GB Notification: Performance of Templates: time 0.004265/0.8714, allocations: 2.101 MB / 1.163 GB, free: 28.36 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.375476350076497]