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.001828/0.001828, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002213/0.002213, allocations: 215.6 kB / 22.99 MB, free: 4.945 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.573/1.573, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.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 3.269/3.269, allocations: 0.4892 GB / 0.7951 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] 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.002082/0.002082, allocations: 68.09 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3065/0.3086, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001856/0.3105, allocations: 0.624 MB / 1.327 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.3126, allocations: 1.432 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.863e-05/0.3127, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.191e-05/0.3127, allocations: 3.938 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.374e-05/0.3128, allocations: 8 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007747/0.3135, allocations: 211.5 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.578e-05/0.3136, allocations: 35.97 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 3.445e-05/0.3136, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.104e-05/0.3137, allocations: 19.92 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.3137, allocations: 23.95 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.3138, allocations: 8 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004996/0.3143, allocations: 263.5 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.3143, allocations: 11.92 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.3143, allocations: 11.94 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003626/0.3147, allocations: 219.4 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3147, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3147, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.3147, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 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.0004421/0.3151, allocations: 329.9 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3152, allocations: 8.031 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3152, allocations: 4.938 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3153, allocations: 126.4 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3154, allocations: 4.312 kB / 1.33 GB, free: 14.43 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.3154, allocations: 4.375 kB / 1.33 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.3155, allocations: 107.7 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3156, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3156, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3156, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.947e-05/0.3157, allocations: 69.67 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.3158, allocations: 113.2 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.3159, allocations: 84.19 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.087e-05/0.316, allocations: 74.56 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.996e-06/0.316, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.3161, allocations: 34.56 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.3161, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0003865/0.3164, allocations: 254.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.3165, allocations: 89.05 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3166, allocations: 109.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.3166, allocations: 29.7 kB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.3167, allocations: 84.14 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.843e-05/0.3167, allocations: 23.78 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.237e-05/0.3168, allocations: 21.72 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3169, allocations: 322.9 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.884e-05/0.317, allocations: 65.67 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.3171, allocations: 65.67 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.3172, allocations: 148.2 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3172, allocations: 0 / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000232/0.3175, allocations: 185.1 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.3175, allocations: 41.62 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3175, allocations: 3.938 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3175, allocations: 3.984 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.3175, allocations: 0 / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3175, allocations: 4.062 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3176, allocations: 15.92 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.3177, allocations: 8 kB / 1.331 GB, free: 12.29 MB / 1.029 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.0001192/0.3178, allocations: 144.1 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.3178, allocations: 11.95 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.3178, allocations: 16.3 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3178, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.3178, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3178, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.36e-05/0.3179, allocations: 109.3 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3179, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.3179, allocations: 4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3179, allocations: 3.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.3179, allocations: 4 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3179, allocations: 3.938 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3179, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.3182, allocations: 240.3 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.598e-06/0.3182, allocations: 3.953 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3182, allocations: 4 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.782e-05/0.3183, allocations: 7.938 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.484e-05/0.3183, allocations: 11.98 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.3183, allocations: 8.031 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.3184, allocations: 91.89 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3184, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003132/0.3187, allocations: 75.81 kB / 1.332 GB, free: 11.48 MB / 1.029 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.0003036/0.319, allocations: 155.1 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002934/0.3193, allocations: 226.7 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3193, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3194, allocations: 149 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.3196, allocations: 4 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003952/0.32, allocations: 244.1 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.343e-05/0.3201, allocations: 71.33 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.3201, allocations: 7.438 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.3201, allocations: 0 / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of Templates: time 0.00383/0.3239, allocations: 1.731 MB / 1.335 GB, free: 8.809 MB / 1.029 GB " [Timeout remaining time 300] 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 -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: 11.667785737197846]