Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001351/0.001351, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.0015/0.0015, allocations: 159.5 kB / 23.01 MB, free: 4.602 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.423/1.423, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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 2.754/2.754, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 GB " [Timeout remaining time 177] 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.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [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.00213/0.00213, allocations: 67.91 kB / 0.9819 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8324, allocations: 176.1 MB / 1.154 GB, free: 33.28 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002189/0.8346, allocations: 1.485 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.8357, allocations: 0.77 MB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.8357, allocations: 0 / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.8359, allocations: 131.8 kB / 1.156 GB, free: 31.76 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005441/0.8365, allocations: 182.9 kB / 1.156 GB, free: 31.71 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001417/0.8366, allocations: 76.86 kB / 1.156 GB, free: 31.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.8367, allocations: 67.94 kB / 1.157 GB, free: 31.67 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.8368, allocations: 6.75 kB / 1.157 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.8368, allocations: 41.31 kB / 1.157 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.837, allocations: 93.66 kB / 1.157 GB, free: 31.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.561e-05/0.837, allocations: 6.906 kB / 1.157 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003674/0.8373, allocations: 236.4 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.8374, allocations: 106.3 kB / 1.157 GB, free: 31.55 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.699e-05/0.8375, allocations: 63.97 kB / 1.157 GB, free: 31.51 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.8378, allocations: 322.3 kB / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.8378, allocations: 0 / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8378, allocations: 0 / 1.157 GB, free: 31.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8379, allocations: 0 / 1.157 GB, free: 31.41 MB / 1.076 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.0006206/0.8385, allocations: 0.5123 MB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.065e-05/0.8385, allocations: 15.88 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/0.8385, allocations: 27.5 kB / 1.158 GB, free: 30.96 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003123/0.8389, allocations: 323.1 kB / 1.158 GB, free: 30.76 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.361e-05/0.8389, allocations: 4.359 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.8389, allocations: 4.312 kB / 1.158 GB, free: 30.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.8391, allocations: 87.52 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8391, allocations: 0 / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-06/0.8391, allocations: 2.875 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.8391, allocations: 0 / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001899/0.8393, allocations: 102.7 kB / 1.158 GB, free: 30.69 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.8397, allocations: 404 kB / 1.159 GB, free: 30.45 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.8398, allocations: 110.9 kB / 1.159 GB, free: 30.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.884e-05/0.8399, allocations: 57.03 kB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.725e-05/0.84, allocations: 19.47 kB / 1.159 GB, free: 30.39 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.693e-05/0.84, allocations: 34.56 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.84, allocations: 2.656 kB / 1.159 GB, free: 30.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0003887/0.8404, allocations: 207.4 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.847e-05/0.8404, allocations: 57.97 kB / 1.159 GB, free: 30.21 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004051/0.8408, allocations: 0.5397 MB / 1.16 GB, free: 30 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.096e-06/0.8408, allocations: 25.7 kB / 1.16 GB, free: 29.96 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.8409, allocations: 159.4 kB / 1.16 GB, free: 29.83 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/0.8409, allocations: 11.17 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.8409, allocations: 43.38 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/0.841, allocations: 343.9 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.8411, allocations: 94.86 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.8413, allocations: 97.56 kB / 1.161 GB, free: 29.43 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.8415, allocations: 171.2 kB / 1.161 GB, free: 29.39 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.8415, allocations: 0 / 1.161 GB, free: 29.39 MB / 1.076 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003255/0.8418, allocations: 277.2 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.8418, allocations: 8.062 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.8418, allocations: 4 kB / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.8418, allocations: 0 / 1.161 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.842, allocations: 34.31 kB / 1.161 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.842, allocations: 0 / 1.161 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.946e-05/0.842, allocations: 9.406 kB / 1.161 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.467e-06/0.8421, allocations: 6.688 kB / 1.161 GB, free: 29.27 MB / 1.076 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 9.514e-05/0.8422, allocations: 168.9 kB / 1.161 GB, free: 29.15 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.8422, allocations: 30.94 kB / 1.161 GB, free: 29.13 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002716/0.8425, allocations: 170.5 kB / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.8425, allocations: 0 / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.8425, allocations: 0 / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.8425, allocations: 0 / 1.161 GB, free: 29.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.8426, allocations: 213.6 kB / 1.162 GB, free: 28.92 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.8426, allocations: 3.938 kB / 1.162 GB, free: 28.91 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/0.8427, allocations: 12.97 kB / 1.162 GB, free: 28.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.8427, allocations: 4 kB / 1.162 GB, free: 28.91 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.52e-06/0.8427, allocations: 0 / 1.162 GB, free: 28.91 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.8427, allocations: 7.094 kB / 1.162 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.8427, allocations: 0 / 1.162 GB, free: 28.9 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.8429, allocations: 260 kB / 1.162 GB, free: 28.73 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-05/0.843, allocations: 40.39 kB / 1.162 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.843, allocations: 2.25 kB / 1.162 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.8431, allocations: 5.781 kB / 1.162 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.8432, allocations: 2.188 kB / 1.162 GB, free: 28.71 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.8432, allocations: 0 / 1.162 GB, free: 28.71 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002935/0.8435, allocations: 404.8 kB / 1.162 GB, free: 28.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8435, allocations: 4.031 kB / 1.162 GB, free: 28.56 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003242/0.8438, allocations: 78.66 kB / 1.162 GB, free: 28.55 MB / 1.076 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.0002129/0.844, allocations: 149.3 kB / 1.163 GB, free: 28.45 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000295/0.8443, allocations: 165.9 kB / 1.163 GB, free: 28.41 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.8443, allocations: 2.625 kB / 1.163 GB, free: 28.41 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.841e-05/0.8444, allocations: 52.39 kB / 1.163 GB, free: 28.41 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.8447, allocations: 22.75 kB / 1.163 GB, free: 28.39 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.8453, allocations: 0.535 MB / 1.163 GB, free: 28.12 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.8454, allocations: 172.8 kB / 1.163 GB, free: 28.04 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.8454, allocations: 31.83 kB / 1.163 GB, free: 28.03 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.8455, allocations: 21.03 kB / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of SimCode: time 3.01e-07/0.8455, allocations: 0 / 1.163 GB, free: 28.02 MB / 1.076 GB Notification: Performance of Templates: time 0.005571/0.851, allocations: 2.859 MB / 1.166 GB, free: 27.75 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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: 8.405262468964793]