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.0007807/0.0007807, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000826/0.000826, allocations: 178.2 kB / 23.22 MB, free: 1.348 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 0.9025/0.9025, allocations: 177.2 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.804/1.804, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.329e-05, allocations: 2.281 kB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001387/0.00142, allocations: 0.6149 MB / 1.002 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.00292, allocations: 1.436 MB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.674e-05/0.002947, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 5.557e-05/0.003003, allocations: 0 / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.962e-05/0.003042, allocations: 11.88 kB / 1.003 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.003683, allocations: 211.5 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.85e-05/0.003761, allocations: 31.97 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.003801, allocations: 7.984 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.003843, allocations: 19.92 kB / 1.003 GB, free: 10.61 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.749e-05/0.003891, allocations: 19.97 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.003902, allocations: 8 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003298/0.004232, allocations: 263.5 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.004272, allocations: 7.938 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.722e-05/0.0043, allocations: 8 kB / 1.004 GB, free: 10.31 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.004582, allocations: 271.3 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.004584, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.41e-07/0.004585, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004589, allocations: 0 / 1.004 GB, free: 10.05 MB / 0.9636 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.0003398/0.004929, allocations: 323.7 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.004964, allocations: 13.34 kB / 1.004 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.507e-05/0.004999, allocations: 8.891 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.302e-05/0.005072, allocations: 113.7 kB / 1.004 GB, free: 9.539 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.005083, allocations: 4.375 kB / 1.004 GB, free: 9.535 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.005093, allocations: 4.375 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.005231, allocations: 111.8 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.005237, allocations: 192 / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.005247, allocations: 12.3 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.005253, allocations: 3.938 kB / 1.004 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.055e-05/0.005304, allocations: 65.67 kB / 1.004 GB, free: 9.324 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.15e-05/0.005395, allocations: 101.3 kB / 1.005 GB, free: 9.195 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.37e-05/0.005469, allocations: 84.25 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.193e-05/0.005521, allocations: 78.55 kB / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-06/0.005526, allocations: 0 / 1.005 GB, free: 9.012 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.005546, allocations: 34.5 kB / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 6.11e-07/0.005547, allocations: 0 / 1.005 GB, free: 8.969 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0002664/0.005813, allocations: 250.8 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.005852, allocations: 89.03 kB / 1.005 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.442e-05/0.005916, allocations: 113.8 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.009e-05/0.005926, allocations: 25.7 kB / 1.005 GB, free: 8.441 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.005959, allocations: 92.14 kB / 1.005 GB, free: 8.348 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.005991, allocations: 23.78 kB / 1.005 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.044e-05/0.006022, allocations: 25.75 kB / 1.005 GB, free: 8.293 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.006095, allocations: 318.8 kB / 1.006 GB, free: 7.973 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.622e-05/0.006151, allocations: 69.61 kB / 1.006 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.245e-05/0.006194, allocations: 65.67 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.766e-05/0.006291, allocations: 144.2 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.006294, allocations: 0 / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000137/0.006431, allocations: 185 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.141e-05/0.006462, allocations: 37.69 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.006467, allocations: 4 kB / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.006478, allocations: 0 / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.006479, allocations: 0 / 1.006 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.006485, allocations: 8 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.284e-05/0.006578, allocations: 7.984 kB / 1.006 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.006599, allocations: 8 kB / 1.006 GB, free: 7.402 MB / 0.9636 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 8.25e-05/0.006681, allocations: 147.5 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.006692, allocations: 7.953 kB / 1.006 GB, free: 7.234 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.24e-05/0.006704, allocations: 4.438 kB / 1.006 GB, free: 7.23 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.006707, allocations: 4 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.006712, allocations: 3.938 kB / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.006715, allocations: 0 / 1.006 GB, free: 7.223 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.533e-05/0.00679, allocations: 117.2 kB / 1.006 GB, free: 7.078 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.006792, allocations: 7.938 kB / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.006792, allocations: 0 / 1.006 GB, free: 7.07 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.006795, allocations: 3.984 kB / 1.006 GB, free: 7.066 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.006804, allocations: 4 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.006806, allocations: 0 / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.006807, allocations: 0 / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001744/0.006981, allocations: 233 kB / 1.007 GB, free: 6.805 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.006989, allocations: 11.92 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.007001, allocations: 4 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.61e-05/0.007027, allocations: 8 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.007041, allocations: 0 / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.007053, allocations: 19.95 kB / 1.007 GB, free: 6.762 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.426e-05/0.007087, allocations: 95.25 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007087, allocations: 0 / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002451/0.007332, allocations: 71.88 kB / 1.007 GB, free: 6.598 MB / 0.9636 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.0002327/0.007565, allocations: 167.1 kB / 1.007 GB, free: 6.422 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002028/0.007767, allocations: 226.6 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.007769, allocations: 0 / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 8.281e-05/0.007852, allocations: 149 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001191/0.007971, allocations: 6.359 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002719/0.008243, allocations: 228.3 kB / 1.008 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.86e-05/0.008292, allocations: 75.19 kB / 1.008 GB, free: 5.652 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.244e-05/0.008304, allocations: 12.44 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of SimCode: time 6.12e-07/0.008305, allocations: 0 / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of Templates: time 0.002511/0.01082, allocations: 1.742 MB / 1.009 GB, free: 3.906 MB / 0.9636 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: 6.865036235190928]