Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.001823/0.001823, allocations: 79.86 kB / 19.18 MB, free: 2.527 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.002142/0.002142, allocations: 163.3 kB / 22.46 MB, free: 5.359 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.469/1.469, allocations: 177.2 MB / 202.8 MB, free: 9.18 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.852/2.852, 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.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.9815 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.379e-05, allocations: 2.281 kB / 0.9815 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002689/0.002713, allocations: 1.518 MB / 0.983 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001357/0.00407, allocations: 0.705 MB / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.004103, allocations: 0 / 0.9837 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.004336, allocations: 135.7 kB / 0.9838 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001173/0.004453, allocations: 75.75 kB / 0.9839 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.005115, allocations: 186.6 kB / 0.984 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.005237, allocations: 67.8 kB / 0.9841 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.404e-05/0.005271, allocations: 8 kB / 0.9841 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.413e-05/0.005345, allocations: 43.88 kB / 0.9842 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005475, allocations: 91.81 kB / 0.9842 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.005489, allocations: 4 kB / 0.9842 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004439/0.005933, allocations: 235.6 kB / 0.9845 GB, free: 8.812 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 9.636e-05/0.00603, allocations: 67.77 kB / 0.9845 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.006079, allocations: 27.88 kB / 0.9846 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004543/0.006534, allocations: 307.1 kB / 0.9849 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.006538, allocations: 4 kB / 0.9849 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of FrontEnd: time 6.81e-07/0.006539, allocations: 0 / 0.9849 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.006543, allocations: 4 kB / 0.9849 GB, free: 8.41 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0006949/0.007238, allocations: 444.8 kB / 0.9853 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.007276, allocations: 12.03 kB / 0.9853 GB, free: 7.934 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.007322, allocations: 24.75 kB / 0.9853 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.007594, allocations: 198 kB / 0.9855 GB, free: 7.691 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.007607, allocations: 4.375 kB / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.17e-05/0.007619, allocations: 384 / 0.9855 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.007819, allocations: 74.22 kB / 0.9856 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.007826, allocations: 4.188 kB / 0.9856 GB, free: 7.605 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.007835, allocations: 4.375 kB / 0.9856 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.007841, allocations: 7.875 kB / 0.9856 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002273/0.008068, allocations: 87.92 kB / 0.9857 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.008614, allocations: 332.4 kB / 0.986 GB, free: 7.152 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.008815, allocations: 94.45 kB / 0.9861 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.008933, allocations: 48.89 kB / 0.9861 GB, free: 7 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.008976, allocations: 23.98 kB / 0.9862 GB, free: 6.977 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.009015, allocations: 34.5 kB / 0.9862 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.009016, allocations: 0 / 0.9862 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004637/0.009479, allocations: 181.4 kB / 0.9864 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.00953, allocations: 55.41 kB / 0.9864 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.009922, allocations: 352.5 kB / 0.9868 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.009939, allocations: 25.7 kB / 0.9868 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01006, allocations: 148.2 kB / 0.9869 GB, free: 6.152 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.414e-05/0.01007, allocations: 7.953 kB / 0.9869 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.01012, allocations: 25.7 kB / 0.987 GB, free: 6.113 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.01029, allocations: 334.8 kB / 0.9873 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.01047, allocations: 95.95 kB / 0.9874 GB, free: 5.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.01063, allocations: 102.7 kB / 0.9875 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.01097, allocations: 204.8 kB / 0.9877 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.01097, allocations: 0 / 0.9877 GB, free: 5.383 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004256/0.0114, allocations: 261.4 kB / 0.9879 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.01142, allocations: 7.938 kB / 0.9879 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.01142, allocations: 0 / 0.9879 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.01144, allocations: 0 / 0.9879 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.01154, allocations: 15.92 kB / 0.9879 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01154, allocations: 0 / 0.9879 GB, free: 5.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.01162, allocations: 11.89 kB / 0.9879 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.01162, allocations: 4 kB / 0.9879 GB, free: 5.082 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 (3): * Single equations (assignments): 2 * Array equations: 1 * Algorithm blocks: 0 * 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.000131/0.01175, allocations: 145.8 kB / 0.9881 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/0.0118, allocations: 23.8 kB / 0.9881 GB, free: 4.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003681/0.01217, allocations: 142.7 kB / 0.9882 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.01217, allocations: 0 / 0.9882 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.01218, allocations: 0 / 0.9882 GB, free: 4.758 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.01219, allocations: 4 kB / 0.9882 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.01245, allocations: 181.2 kB / 0.9884 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.458e-05/0.01246, allocations: 3.984 kB / 0.9884 GB, free: 4.543 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/0.01253, allocations: 15.97 kB / 0.9884 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01253, allocations: 0 / 0.9884 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01255, allocations: 7.938 kB / 0.9884 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01255, allocations: 0 / 0.9884 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.01255, allocations: 0 / 0.9884 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003908/0.01294, allocations: 227.3 kB / 0.9887 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.013, allocations: 27.94 kB / 0.9887 GB, free: 4.254 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.376e-05/0.01302, allocations: 3.938 kB / 0.9887 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.743e-05/0.01312, allocations: 16 kB / 0.9887 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.01316, allocations: 4 kB / 0.9887 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-06/0.01316, allocations: 0 / 0.9887 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002761/0.01344, allocations: 255 kB / 0.989 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01344, allocations: 0 / 0.989 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003918/0.01383, allocations: 67.86 kB / 0.989 GB, free: 3.918 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0003398/0.01417, allocations: 171.5 kB / 0.9892 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003475/0.01452, allocations: 147.9 kB / 0.9893 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01452, allocations: 0 / 0.9893 GB, free: 3.598 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.01464, allocations: 39.97 kB / 0.9894 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.01496, allocations: 16.66 kB / 0.9894 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006323/0.01559, allocations: 382.4 kB / 0.9897 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001403/0.01573, allocations: 127.1 kB / 0.9899 GB, free: 2.996 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.01577, allocations: 16.48 kB / 0.9899 GB, free: 2.977 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.488e-05/0.0158, allocations: 16.5 kB / 0.9899 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of SimCode: time 4.21e-07/0.01581, allocations: 0 / 0.9899 GB, free: 2.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.005952/0.02176, allocations: 2.125 MB / 0.992 GB, free: 0.8633 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.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.937441144138575]