Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001722/0.001722, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.001961/0.001961, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.42/1.42, allocations: 225.6 MB / 249.4 MB, free: 3.277 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.889/2.889, allocations: 476.7 MB / 0.7628 GB, free: 15.26 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 67.89 kB / 1.107 GB, free: 4.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.9493, allocations: 168.7 MB / 1.272 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001897/0.9512, allocations: 0.6331 MB / 1.273 GB, free: 7.535 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002315/0.9535, allocations: 1.448 MB / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.563e-05/0.9536, allocations: 0 / 1.274 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.667e-05/0.9537, allocations: 9.219 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.9537, allocations: 1.094 kB / 1.274 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009444/0.9547, allocations: 217 kB / 1.274 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.9548, allocations: 34.77 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.098e-05/0.9548, allocations: 2.062 kB / 1.274 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.9549, allocations: 14 kB / 1.274 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.405e-05/0.955, allocations: 25.2 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.955, allocations: 1.625 kB / 1.274 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005237/0.9555, allocations: 260.1 kB / 1.275 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.9555, allocations: 8.609 kB / 1.275 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.864e-05/0.9556, allocations: 23.94 kB / 1.275 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.956, allocations: 208.1 kB / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.956, allocations: 0.8438 kB / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.956, allocations: 0 / 1.275 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.956, allocations: 0 / 1.275 GB, free: 6.266 MB / 0.9981 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.0005126/0.9565, allocations: 402.1 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.9566, allocations: 13.38 kB / 1.275 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/0.9566, allocations: 10.97 kB / 1.275 GB, free: 5.844 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.9567, allocations: 175.7 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.9567, allocations: 1.406 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.9567, allocations: 3.125 kB / 1.275 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.9569, allocations: 79.27 kB / 1.275 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.957, allocations: 3.938 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.957, allocations: 0.875 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.957, allocations: 0.6875 kB / 1.275 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.9571, allocations: 35.61 kB / 1.275 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001562/0.9572, allocations: 162.8 kB / 1.276 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.9573, allocations: 56.16 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.511e-05/0.9574, allocations: 41.2 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.9574, allocations: 4.766 kB / 1.276 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.9574, allocations: 36.25 kB / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.9574, allocations: 0 / 1.276 GB, free: 5.301 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004138/0.9579, allocations: 201.8 kB / 1.276 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.022e-05/0.9579, allocations: 79.89 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.415e-05/0.958, allocations: 112.2 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.958, allocations: 27.7 kB / 1.276 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.958, allocations: 91.08 kB / 1.276 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.9581, allocations: 21.45 kB / 1.276 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/0.9581, allocations: 21.31 kB / 1.276 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.571e-05/0.9582, allocations: 315.3 kB / 1.277 GB, free: 4.543 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.9582, allocations: 40.67 kB / 1.277 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.9583, allocations: 37.3 kB / 1.277 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.9584, allocations: 147.3 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9584, allocations: 0 / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001999/0.9586, allocations: 156.4 kB / 1.277 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.862e-05/0.9587, allocations: 42.97 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.9587, allocations: 0 / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.9587, allocations: 0.7812 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.9587, allocations: 0 / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.9587, allocations: 0.6875 kB / 1.277 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.9589, allocations: 13.75 kB / 1.277 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.9589, allocations: 5.219 kB / 1.277 GB, free: 4.32 MB / 0.9981 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 9.228e-05/0.959, allocations: 148.5 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.959, allocations: 12.05 kB / 1.277 GB, free: 4.164 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.512e-05/0.959, allocations: 7.953 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.959, allocations: 0.875 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.959, allocations: 0.875 kB / 1.277 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.959, allocations: 3.938 kB / 1.277 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.29e-05/0.9591, allocations: 166.9 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.9591, allocations: 5.25 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-06/0.9591, allocations: 2.484 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.9591, allocations: 3.938 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.9591, allocations: 3.469 kB / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.9591, allocations: 0 / 1.277 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.9591, allocations: 4.906 kB / 1.277 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.9594, allocations: 194.2 kB / 1.278 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.9594, allocations: 93.66 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.9595, allocations: 5.938 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.652e-05/0.9595, allocations: 6.953 kB / 1.278 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.146e-05/0.9595, allocations: 6.031 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.9595, allocations: 6.359 kB / 1.278 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.691e-05/0.9596, allocations: 91.52 kB / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.9596, allocations: 0 / 1.278 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000403/0.96, allocations: 68.02 kB / 1.278 GB, free: 3.633 MB / 0.9981 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.0003391/0.9603, allocations: 163.9 kB / 1.278 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002674/0.9606, allocations: 162.5 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.9606, allocations: 0 / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.9607, allocations: 121.3 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.9609, allocations: 5.031 kB / 1.278 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.9612, allocations: 185 kB / 1.278 GB, free: 3.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.9614, allocations: 0.6845 MB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.182e-06/0.9614, allocations: 1.031 kB / 1.279 GB, free: 2.555 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.071e-05/0.9614, allocations: 7.562 kB / 1.279 GB, free: 2.547 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.9614, allocations: 4.781 kB / 1.279 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of Templates: time 0.0058/0.9672, allocations: 2.066 MB / 1.281 GB, free: 2.363 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.993661635555327]