Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001361/0.001361, allocations: 107.6 kB / 18.95 MB, free: 2.809 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.001521/0.001521, allocations: 214.3 kB / 22.25 MB, free: 5.117 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.305/3.305, allocations: 0.5107 GB / 0.8158 GB, free: 17.88 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002071/0.002071, allocations: 70.2 kB / 1.186 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.354, allocations: 181.9 MB / 1.364 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001831/0.3558, allocations: 0.6147 MB / 1.364 GB, free: 12.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002231/0.3581, allocations: 1.444 MB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.3581, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.474e-05/0.3581, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.215e-05/0.3582, allocations: 7.938 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007416/0.3589, allocations: 206.2 kB / 1.366 GB, free: 11.31 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.079e-05/0.359, allocations: 43.91 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.737e-05/0.3591, allocations: 11.97 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.3591, allocations: 15.94 kB / 1.366 GB, free: 11.24 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.966e-05/0.3591, allocations: 19.91 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3592, allocations: 4 kB / 1.366 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005034/0.3597, allocations: 259.6 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 5.766e-05/0.3597, allocations: 7.984 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.3598, allocations: 15.88 kB / 1.366 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.3601, allocations: 223.3 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3601, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3601, allocations: 4 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3601, allocations: 0 / 1.367 GB, free: 10.72 MB / 1.061 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.0004556/0.3606, allocations: 323.7 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.3606, allocations: 8.031 kB / 1.367 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.365e-05/0.3606, allocations: 8.891 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.3608, allocations: 118.5 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.3608, allocations: 384 / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.3608, allocations: 4.375 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.361, allocations: 103.7 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.361, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.361, allocations: 0 / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.361, allocations: 4 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3611, allocations: 77.55 kB / 1.367 GB, free: 10.01 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.3613, allocations: 117.2 kB / 1.367 GB, free: 9.863 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.3614, allocations: 80.25 kB / 1.367 GB, free: 9.77 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.934e-05/0.3615, allocations: 70.56 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.48e-06/0.3615, allocations: 0 / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.3616, allocations: 34.56 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 9.51e-07/0.3616, allocations: 4 kB / 1.368 GB, free: 9.645 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0004194/0.362, allocations: 254.7 kB / 1.368 GB, free: 9.371 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.362, allocations: 85.11 kB / 1.368 GB, free: 9.27 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.3621, allocations: 117.9 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3622, allocations: 29.7 kB / 1.368 GB, free: 9.109 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.3622, allocations: 84.12 kB / 1.368 GB, free: 9.023 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.3623, allocations: 19.86 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.3623, allocations: 25.7 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.3625, allocations: 314.8 kB / 1.368 GB, free: 8.656 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.266e-05/0.3626, allocations: 65.67 kB / 1.369 GB, free: 8.586 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.357e-05/0.3627, allocations: 65.67 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001845/0.3628, allocations: 148.2 kB / 1.369 GB, free: 8.355 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3628, allocations: 3.938 kB / 1.369 GB, free: 8.352 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002374/0.3631, allocations: 185 kB / 1.369 GB, free: 8.152 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.563e-05/0.3631, allocations: 37.77 kB / 1.369 GB, free: 8.109 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.3631, allocations: 3.938 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.3632, allocations: 3.984 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.3632, allocations: 0 / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3632, allocations: 0.625 kB / 1.369 GB, free: 8.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3633, allocations: 11.94 kB / 1.369 GB, free: 8.09 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.3633, allocations: 8 kB / 1.369 GB, free: 8.082 MB / 1.061 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.0001264/0.3634, allocations: 148.6 kB / 1.369 GB, free: 7.922 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3635, allocations: 4 kB / 1.369 GB, free: 7.918 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.3635, allocations: 12.31 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.3635, allocations: 4 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3635, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.3635, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.3636, allocations: 117.2 kB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3636, allocations: 0 / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.3636, allocations: 4 kB / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.3636, allocations: 0 / 1.369 GB, free: 7.746 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.3636, allocations: 7.938 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.3636, allocations: 3.938 kB / 1.369 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.3636, allocations: 3.938 kB / 1.369 GB, free: 7.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.3639, allocations: 241.5 kB / 1.37 GB, free: 7.465 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.997e-05/0.364, allocations: 11.98 kB / 1.37 GB, free: 7.453 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.364, allocations: 7.938 kB / 1.37 GB, free: 7.445 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.028e-05/0.364, allocations: 11.92 kB / 1.37 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.059e-05/0.3641, allocations: 8 kB / 1.37 GB, free: 7.426 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.153e-05/0.3641, allocations: 4 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.3641, allocations: 87.27 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0 / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003176/0.3644, allocations: 79.86 kB / 1.37 GB, free: 7.258 MB / 1.061 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.0003643/0.3648, allocations: 151.1 kB / 1.37 GB, free: 7.102 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003344/0.3651, allocations: 238.6 kB / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3651, allocations: 0 / 1.37 GB, free: 6.844 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.3653, allocations: 145 kB / 1.37 GB, free: 6.684 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.3655, allocations: 5.562 kB / 1.37 GB, free: 6.68 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004012/0.3659, allocations: 198.4 kB / 1.37 GB, free: 6.453 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.711e-05/0.3659, allocations: 71.33 kB / 1.37 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.51e-06/0.366, allocations: 0 / 1.37 GB, free: 6.363 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.366, allocations: 7.438 kB / 1.37 GB, free: 6.359 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/0.366, allocations: 0 / 1.37 GB, free: 6.359 MB / 1.061 GB Notification: Performance of Templates: time 0.005292/0.3713, allocations: 2.146 MB / 1.373 GB, free: 4.23 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.924402290955186]