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.002126/0.002126, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.002342/0.002342, allocations: 163.4 kB / 22.46 MB, free: 5.375 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.503/1.503, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.841/2.841, allocations: 377.8 MB / 0.6221 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.672e-05/2.84e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001616/0.001645, allocations: 0.6222 MB / 0.9821 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002204/0.003849, allocations: 1.427 MB / 0.9835 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.003873, allocations: 4 kB / 0.9835 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.493e-05/0.003928, allocations: 3.938 kB / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.387e-05/0.003962, allocations: 0 / 0.9835 GB, free: 9.824 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000725/0.004687, allocations: 216.5 kB / 0.9837 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.004778, allocations: 35.91 kB / 0.9837 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.004822, allocations: 8 kB / 0.9837 GB, free: 9.57 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.929e-05/0.004871, allocations: 23.97 kB / 0.9838 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.905e-05/0.00492, allocations: 19.97 kB / 0.9838 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.004937, allocations: 7.938 kB / 0.9838 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.005408, allocations: 267.5 kB / 0.9841 GB, free: 9.258 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.579e-05/0.005444, allocations: 4 kB / 0.9841 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.00553, allocations: 11.94 kB / 0.9841 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.00592, allocations: 259.5 kB / 0.9843 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.005925, allocations: 3.984 kB / 0.9843 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of FrontEnd: time 5.62e-07/0.005925, allocations: 0 / 0.9843 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.005933, allocations: 0 / 0.9843 GB, free: 8.984 MB / 0.9356 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.0004379/0.006371, allocations: 335.5 kB / 0.9846 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.006405, allocations: 16.03 kB / 0.9847 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.006439, allocations: 4.891 kB / 0.9847 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.006553, allocations: 109.7 kB / 0.9848 GB, free: 8.469 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.006567, allocations: 4.375 kB / 0.9848 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.00658, allocations: 384 / 0.9848 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.006763, allocations: 103.9 kB / 0.9849 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.00677, allocations: 192 / 0.9849 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.006781, allocations: 4.375 kB / 0.9849 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.006786, allocations: 3.938 kB / 0.9849 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.933e-05/0.006876, allocations: 69.66 kB / 0.9849 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.007006, allocations: 109.3 kB / 0.985 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.007125, allocations: 88.19 kB / 0.9851 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.547e-05/0.007211, allocations: 70.56 kB / 0.9852 GB, free: 7.953 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 9.918e-06/0.007221, allocations: 3.984 kB / 0.9852 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.007246, allocations: 30.56 kB / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.133e-06/0.007247, allocations: 0 / 0.9852 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003781/0.007626, allocations: 250.9 kB / 0.9855 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.00769, allocations: 92.97 kB / 0.9856 GB, free: 7.531 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.007791, allocations: 109.8 kB / 0.9857 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.007814, allocations: 25.7 kB / 0.9857 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.007866, allocations: 88.14 kB / 0.9858 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.007909, allocations: 31.77 kB / 0.9858 GB, free: 7.262 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.007955, allocations: 21.72 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.008105, allocations: 314.8 kB / 0.9861 GB, free: 6.918 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.575e-05/0.008191, allocations: 69.66 kB / 0.9862 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.415e-05/0.008265, allocations: 65.67 kB / 0.9863 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.00844, allocations: 144.8 kB / 0.9864 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008442, allocations: 0 / 0.9864 GB, free: 6.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002426/0.008685, allocations: 185 kB / 0.9866 GB, free: 6.418 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.008733, allocations: 41.69 kB / 0.9866 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.00874, allocations: 4 kB / 0.9866 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.008756, allocations: 4.062 kB / 0.9866 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.152e-06/0.008757, allocations: 0 / 0.9866 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.008764, allocations: 11.81 kB / 0.9866 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.008877, allocations: 11.94 kB / 0.9866 GB, free: 6.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.008904, allocations: 8 kB / 0.9866 GB, free: 6.332 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.0001401/0.009044, allocations: 147.5 kB / 0.9868 GB, free: 6.172 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.59e-05/0.00906, allocations: 4 kB / 0.9868 GB, free: 6.168 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.52e-05/0.009075, allocations: 4.438 kB / 0.9868 GB, free: 6.164 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.00908, allocations: 4 kB / 0.9868 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.009086, allocations: 3.938 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.009088, allocations: 4 kB / 0.9868 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.009198, allocations: 117.2 kB / 0.9869 GB, free: 6.008 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.009201, allocations: 3.984 kB / 0.9869 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.009201, allocations: 0 / 0.9869 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.009207, allocations: 3.984 kB / 0.9869 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.00922, allocations: 4 kB / 0.9869 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.009221, allocations: 0 / 0.9869 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.009222, allocations: 0 / 0.9869 GB, free: 5.996 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002989/0.009521, allocations: 232.3 kB / 0.9871 GB, free: 5.738 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.677e-05/0.009537, allocations: 11.94 kB / 0.9872 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.009554, allocations: 0 / 0.9872 GB, free: 5.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.78e-05/0.009592, allocations: 12.03 kB / 0.9872 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.009616, allocations: 0 / 0.9872 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.009635, allocations: 15.92 kB / 0.9872 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.935e-05/0.009694, allocations: 87.28 kB / 0.9873 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.009694, allocations: 0 / 0.9873 GB, free: 5.613 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003337/0.01003, allocations: 75.86 kB / 0.9873 GB, free: 5.539 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.0003863/0.01041, allocations: 171.1 kB / 0.9875 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003198/0.01073, allocations: 222.7 kB / 0.9877 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01074, allocations: 0 / 0.9877 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.01089, allocations: 153.1 kB / 0.9879 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.01106, allocations: 11.94 kB / 0.9879 GB, free: 4.941 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.01145, allocations: 190.6 kB / 0.9881 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.927e-05/0.01155, allocations: 75.14 kB / 0.9881 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.011e-06/0.01156, allocations: 0 / 0.9881 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.01158, allocations: 8.5 kB / 0.9881 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of SimCode: time 3.71e-07/0.01158, allocations: 0 / 0.9881 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of Templates: time 0.005587/0.01716, allocations: 2.105 MB / 0.9902 GB, free: 2.535 MB / 0.9356 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/jenkins/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: 7.994067694991827]