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.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.002686/0.002686, allocations: 83.69 kB / 20.24 MB, free: 4.184 MB / 18.57 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.001951/0.001951, allocations: 161.3 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.544/1.544, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.869/2.869, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.172e-06/1.172e-06, allocations: 0 / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.312e-05/2.43e-05, allocations: 3.438 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001621/0.001645, allocations: 0.6238 MB / 0.787 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002258/0.003904, allocations: 1.458 MB / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.206e-05/0.003926, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.172e-05/0.003987, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.094e-05/0.004028, allocations: 9.5 kB / 0.7885 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000694/0.004722, allocations: 208.8 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.664e-05/0.004819, allocations: 39.89 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.579e-05/0.004845, allocations: 1.25 kB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.835e-05/0.004893, allocations: 15.98 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.004947, allocations: 23.97 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.004961, allocations: 0.9062 kB / 0.7888 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000696/0.005657, allocations: 271.5 kB / 0.789 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.239e-05/0.005689, allocations: 4 kB / 0.789 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.005722, allocations: 12.75 kB / 0.789 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004086/0.00613, allocations: 259.4 kB / 0.7893 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/0.006136, allocations: 6.469 kB / 0.7893 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.72e-07/0.006137, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.00614, allocations: 0 / 0.7893 GB, free: 9.844 MB / 0.7448 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.0004805/0.006621, allocations: 433.5 kB / 0.7897 GB, free: 9.379 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.006655, allocations: 12.02 kB / 0.7897 GB, free: 9.367 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.006702, allocations: 8.891 kB / 0.7897 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.006833, allocations: 122.2 kB / 0.7898 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.006847, allocations: 4.375 kB / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.006857, allocations: 384 / 0.7898 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.007009, allocations: 87.94 kB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.007017, allocations: 192 / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.007027, allocations: 0.9688 kB / 0.7899 GB, free: 9.113 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.007032, allocations: 3.938 kB / 0.7899 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.961e-05/0.007112, allocations: 50.41 kB / 0.79 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000148/0.00726, allocations: 120.6 kB / 0.7901 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.007383, allocations: 81.22 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.007462, allocations: 67.05 kB / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.00747, allocations: 0 / 0.7902 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.00751, allocations: 41.38 kB / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 7.02e-07/0.00751, allocations: 0 / 0.7903 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003647/0.007875, allocations: 211.2 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.007945, allocations: 93.03 kB / 0.7906 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.008078, allocations: 166.7 kB / 0.7907 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.008097, allocations: 25.7 kB / 0.7907 GB, free: 8.129 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.008176, allocations: 140 kB / 0.7909 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.008213, allocations: 19.8 kB / 0.7909 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-05/0.008268, allocations: 31.36 kB / 0.7909 GB, free: 7.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.008513, allocations: 497.5 kB / 0.7914 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.008e-05/0.008583, allocations: 53.67 kB / 0.7914 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.008655, allocations: 49.69 kB / 0.7915 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.008799, allocations: 117 kB / 0.7916 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.0088, allocations: 0 / 0.7916 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002069/0.009007, allocations: 157 kB / 0.7918 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.308e-05/0.00905, allocations: 41.69 kB / 0.7918 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.009054, allocations: 3.938 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.009066, allocations: 1.312 kB / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.009067, allocations: 0 / 0.7918 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.009073, allocations: 3.938 kB / 0.7918 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.009137, allocations: 13.67 kB / 0.7918 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.009158, allocations: 4 kB / 0.7918 GB, free: 6.949 MB / 0.7448 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.0001348/0.009293, allocations: 190.3 kB / 0.792 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.009319, allocations: 11.95 kB / 0.792 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.054e-05/0.009329, allocations: 11.09 kB / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.009331, allocations: 0 / 0.792 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.009335, allocations: 3.938 kB / 0.792 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.009337, allocations: 0 / 0.792 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.009451, allocations: 124.6 kB / 0.7921 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.009456, allocations: 4 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.009456, allocations: 0 / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.009457, allocations: 0.5 kB / 0.7922 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.009471, allocations: 7.984 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.009472, allocations: 0.5312 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.009473, allocations: 1.938 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002908/0.009763, allocations: 215.7 kB / 0.7924 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.018e-05/0.009774, allocations: 3.953 kB / 0.7924 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.009792, allocations: 7.984 kB / 0.7924 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.497e-05/0.009827, allocations: 4 kB / 0.7924 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.009847, allocations: 6.594 kB / 0.7924 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.009863, allocations: 11.92 kB / 0.7924 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.769e-05/0.00994, allocations: 131.8 kB / 0.7925 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.009941, allocations: 0 / 0.7925 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000283/0.01022, allocations: 71.86 kB / 0.7926 GB, free: 6.082 MB / 0.7448 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.0003339/0.01056, allocations: 171.1 kB / 0.7928 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.01084, allocations: 203.2 kB / 0.793 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01084, allocations: 0.875 kB / 0.793 GB, free: 5.676 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001466/0.01098, allocations: 152.6 kB / 0.7931 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.01112, allocations: 4.812 kB / 0.7931 GB, free: 5.5 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.01146, allocations: 193.1 kB / 0.7933 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.694e-05/0.01153, allocations: 67.28 kB / 0.7934 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.253e-06/0.01154, allocations: 8 kB / 0.7934 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.01156, allocations: 9.344 kB / 0.7934 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of SimCode: time 3.9e-07/0.01156, allocations: 0 / 0.7934 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of Templates: time 0.00544/0.017, allocations: 2.126 MB / 0.7954 GB, free: 3.086 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) [Timeout 240] 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: 7.905000881990418]