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.0009742/0.0009742, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.00114/0.00114, allocations: 169 kB / 24.28 MB, free: 276 kB / 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.9588/0.9588, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] 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 1.808/1.808, allocations: 377.8 MB / 0.6239 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 178] 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.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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 0.8115 GB, free: 2.062 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.547e-05, allocations: 6 kB / 0.8115 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002745/0.00278, allocations: 1.517 MB / 0.813 GB, free: 0.5547 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.004094, allocations: 0.7804 MB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.562e-05/0.004139, allocations: 1.75 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.004343, allocations: 136.8 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.004819, allocations: 191.7 kB / 0.8141 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001222/0.004941, allocations: 71.8 kB / 0.8142 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.005033, allocations: 63.86 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.712e-05/0.00511, allocations: 4 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.202e-05/0.005162, allocations: 51.86 kB / 0.8143 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.772e-05/0.00526, allocations: 87.83 kB / 0.8144 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.005275, allocations: 4.531 kB / 0.8144 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002873/0.005562, allocations: 240.3 kB / 0.8146 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.005663, allocations: 103.8 kB / 0.8147 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.005708, allocations: 44.31 kB / 0.8147 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.006041, allocations: 331 kB / 0.815 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.006044, allocations: 5.656 kB / 0.8151 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.42e-07/0.006045, allocations: 0 / 0.8151 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.00605, allocations: 0 / 0.8151 GB, free: 14.47 MB / 0.7761 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.0005686/0.006619, allocations: 0.604 MB / 0.8156 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.006657, allocations: 12.56 kB / 0.8157 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.52e-05/0.006712, allocations: 33.53 kB / 0.8157 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.006924, allocations: 242.9 kB / 0.8159 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.006936, allocations: 1.531 kB / 0.8159 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.876e-06/0.006945, allocations: 4.375 kB / 0.8159 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.00706, allocations: 54.95 kB / 0.816 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.007067, allocations: 5.5 kB / 0.816 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.007075, allocations: 4.359 kB / 0.816 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.007083, allocations: 3.938 kB / 0.816 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.7e-05/0.00711, allocations: 7.984 kB / 0.816 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.007461, allocations: 364.3 kB / 0.8163 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.744e-05/0.007508, allocations: 32.09 kB / 0.8164 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.983e-05/0.007528, allocations: 11.75 kB / 0.8164 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.615e-05/0.007574, allocations: 24.89 kB / 0.8164 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.007597, allocations: 41.27 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.173e-06/0.007598, allocations: 0.8438 kB / 0.8165 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001537/0.007751, allocations: 69.45 kB / 0.8165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.007785, allocations: 57.62 kB / 0.8166 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.00809, allocations: 466.7 kB / 0.817 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.0081, allocations: 25.7 kB / 0.817 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.008202, allocations: 218.8 kB / 0.8173 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.008218, allocations: 3.953 kB / 0.8173 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.478e-05/0.008263, allocations: 47.36 kB / 0.8173 GB, free: 12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.008398, allocations: 0.5261 MB / 0.8178 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.855e-05/0.008427, allocations: 20 kB / 0.8178 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.601e-05/0.008453, allocations: 23.92 kB / 0.8179 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.506e-05/0.008508, allocations: 44.81 kB / 0.8179 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.00851, allocations: 0 / 0.8179 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001208/0.00863, allocations: 130.9 kB / 0.818 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.008644, allocations: 7.938 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008649, allocations: 5.547 kB / 0.818 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.008663, allocations: 4 kB / 0.818 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.008764, allocations: 23.94 kB / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.008768, allocations: 0 / 0.8181 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.152e-05/0.0088, allocations: 8.484 kB / 0.8181 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.008808, allocations: 9.5 kB / 0.8181 GB, free: 11.18 MB / 0.7761 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 6.618e-05/0.008874, allocations: 160.5 kB / 0.8182 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.895e-05/0.008903, allocations: 31.75 kB / 0.8183 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.336e-05/0.008997, allocations: 72.81 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.008998, allocations: 0 / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.009001, allocations: 0.6562 kB / 0.8183 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.009004, allocations: 4 kB / 0.8183 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001502/0.009154, allocations: 220.2 kB / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.009155, allocations: 0 / 0.8185 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.032e-05/0.009175, allocations: 7.984 kB / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.009177, allocations: 0 / 0.8186 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.009185, allocations: 3.938 kB / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.009186, allocations: 0 / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.009186, allocations: 0 / 0.8186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.553e-05/0.009282, allocations: 211.8 kB / 0.8188 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.009317, allocations: 39.75 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.009333, allocations: 5.656 kB / 0.8188 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.943e-05/0.009373, allocations: 11.92 kB / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.014e-05/0.009403, allocations: 0 / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.009405, allocations: 0 / 0.8188 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001714/0.009576, allocations: 307.1 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.009576, allocations: 0.9375 kB / 0.8191 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002315/0.009808, allocations: 79.86 kB / 0.8192 GB, free: 9.988 MB / 0.7761 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.0001934/0.01, allocations: 164.2 kB / 0.8193 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.788e-05/0.0101, allocations: 48.8 kB / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0101, allocations: 0 / 0.8194 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.01012, allocations: 15.62 kB / 0.8194 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002072/0.01033, allocations: 26.5 kB / 0.8194 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.01079, allocations: 455.8 kB / 0.8199 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.01085, allocations: 99.8 kB / 0.82 GB, free: 9.133 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.95e-05/0.01088, allocations: 23.97 kB / 0.82 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.01091, allocations: 20.5 kB / 0.82 GB, free: 9.094 MB / 0.7761 GB Notification: Performance of SimCode: time 6.32e-07/0.01091, allocations: 3.938 kB / 0.82 GB, free: 9.09 MB / 0.7761 GB Notification: Performance of Templates: time 0.004568/0.01548, allocations: 2.911 MB / 0.8228 GB, free: 6.223 MB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.085781495086849]