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.001719/0.001719, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002044/0.002044, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.465/1.465, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.568/2.568, allocations: 443.4 MB / 0.7321 GB, free: 12.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.001918/0.001918, allocations: 63.89 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8505/0.8524, allocations: 160.8 MB / 1.218 GB, free: 3.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.002132/0.8546, allocations: 0.6278 MB / 1.219 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002422/0.857, allocations: 1.447 MB / 1.221 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.582e-05/0.857, allocations: 3.938 kB / 1.221 GB, free: 2.207 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.821e-05/0.8571, allocations: 5.328 kB / 1.221 GB, free: 2.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.989e-05/0.8571, allocations: 5.438 kB / 1.221 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.858, allocations: 224.8 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.643e-05/0.8581, allocations: 29.88 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.854e-05/0.8581, allocations: 2 kB / 1.221 GB, free: 2.055 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.762e-05/0.8582, allocations: 18.67 kB / 1.221 GB, free: 2.043 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.8582, allocations: 26.25 kB / 1.221 GB, free: 2.027 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.8582, allocations: 6.109 kB / 1.221 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006226/0.8589, allocations: 284.5 kB / 1.221 GB, free: 1.859 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.8589, allocations: 11.33 kB / 1.221 GB, free: 1.852 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.859, allocations: 16.52 kB / 1.221 GB, free: 1.84 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004195/0.8594, allocations: 222.2 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.8594, allocations: 1.062 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8594, allocations: 0 / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.223e-06/0.8594, allocations: 3.984 kB / 1.221 GB, free: 1.707 MB / 0.92 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.0005303/0.8599, allocations: 402.2 kB / 1.222 GB, free: 1.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.86, allocations: 8.25 kB / 1.222 GB, free: 1.285 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.86, allocations: 12.17 kB / 1.222 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.8602, allocations: 174.7 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.8602, allocations: 1.688 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.8602, allocations: 3.781 kB / 1.222 GB, free: 1.07 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.8604, allocations: 74.91 kB / 1.222 GB, free: 1.02 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.8604, allocations: 3.938 kB / 1.222 GB, free: 1.016 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8605, allocations: 5.031 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.8605, allocations: 1 kB / 1.222 GB, free: 1.012 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.8605, allocations: 32.5 kB / 1.222 GB, free: 1.004 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001886/0.8607, allocations: 172.5 kB / 1.222 GB, free: 0.793 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.8608, allocations: 52.14 kB / 1.222 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.8609, allocations: 38.34 kB / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-06/0.8609, allocations: 0 / 1.222 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.8609, allocations: 44.14 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.8609, allocations: 0 / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003495/0.8613, allocations: 185.7 kB / 1.223 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.8614, allocations: 83.39 kB / 1.223 GB, free: 0.4922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.8615, allocations: 110.7 kB / 1.223 GB, free: 396 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.047e-05/0.8615, allocations: 26.77 kB / 1.223 GB, free: 364 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.442e-05/0.8615, allocations: 86.36 kB / 1.223 GB, free: 276 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 4.676e-05/0.8616, allocations: 30.86 kB / 1.223 GB, free: 248 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.39e-05/0.8616, allocations: 17.66 kB / 1.223 GB, free: 232 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001721/0.8618, allocations: 320.3 kB / 1.223 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.121e-05/0.8619, allocations: 36.97 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.8619, allocations: 36.8 kB / 1.223 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.8621, allocations: 146.5 kB / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8621, allocations: 0 / 1.223 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002191/0.8623, allocations: 147.9 kB / 1.223 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.8624, allocations: 41.03 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8624, allocations: 4 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.8624, allocations: 0.9062 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/0.8624, allocations: 0 / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.8624, allocations: 0.7812 kB / 1.224 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.8625, allocations: 13.62 kB / 1.224 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.084e-05/0.8625, allocations: 12.47 kB / 1.224 GB, free: 15.63 MB / 0.9356 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.0001332/0.8627, allocations: 149 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.8627, allocations: 7.906 kB / 1.224 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.413e-05/0.8627, allocations: 6.531 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8627, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.8627, allocations: 0.75 kB / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.8627, allocations: 0 / 1.224 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.8629, allocations: 174.7 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.8629, allocations: 3.938 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.613e-06/0.8629, allocations: 1.125 kB / 1.224 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.8629, allocations: 11.88 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.8629, allocations: 3.125 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.8629, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8629, allocations: 5.562 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.8632, allocations: 191.3 kB / 1.224 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.8632, allocations: 94.89 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.8633, allocations: 2.156 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.045e-05/0.8633, allocations: 5.5 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.8633, allocations: 6.312 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-05/0.8633, allocations: 8.359 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.8634, allocations: 91.42 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.8634, allocations: 1.094 kB / 1.224 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003892/0.8638, allocations: 73.73 kB / 1.224 GB, free: 14.9 MB / 0.9356 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.0003862/0.8642, allocations: 164.4 kB / 1.225 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002603/0.8644, allocations: 165.4 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.8644, allocations: 4.062 kB / 1.225 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.8646, allocations: 113.8 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.8647, allocations: 10.38 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.8651, allocations: 171.8 kB / 1.225 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.8655, allocations: 0.6835 MB / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.593e-06/0.8655, allocations: 0 / 1.226 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.8655, allocations: 8.531 kB / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of SimCode: time 7.61e-07/0.8655, allocations: 0 / 1.226 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.00567/0.8712, allocations: 2.084 MB / 1.228 GB, free: 12.67 MB / 0.9356 GB " [Timeout remaining time 299] 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: 8.543470027856529]