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.0014/0.0014, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001783/0.001783, allocations: 181 kB / 24.08 MB, free: 420 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.977/0.977, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.917/1.917, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.613e-06/1.613e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.746e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.00227/0.002287, allocations: 1.524 MB / 0.8135 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.003724, allocations: 0.7782 MB / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.55e-05/0.003799, allocations: 0 / 0.8143 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0003229/0.004122, allocations: 133 kB / 0.8144 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007019/0.004824, allocations: 187.3 kB / 0.8146 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002054/0.005029, allocations: 75.78 kB / 0.8146 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.005159, allocations: 67.81 kB / 0.8147 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.005268, allocations: 3.984 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.005343, allocations: 43.95 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001317/0.005475, allocations: 88.53 kB / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.005492, allocations: 0 / 0.8148 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.005909, allocations: 244.1 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001453/0.006054, allocations: 107.7 kB / 0.8152 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.006098, allocations: 41.45 kB / 0.8152 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003968/0.006495, allocations: 335 kB / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.295e-06/0.006497, allocations: 0 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.91e-07/0.006498, allocations: 0 / 0.8155 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.006505, allocations: 0.5938 kB / 0.8155 GB, free: 13.84 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.0007024/0.007207, allocations: 0.613 MB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.007262, allocations: 8.031 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.007313, allocations: 32.75 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.007529, allocations: 226.9 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.007547, allocations: 5.531 kB / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.007556, allocations: 384 / 0.8164 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.0077, allocations: 58.89 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.007711, allocations: 1.562 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.007721, allocations: 4.375 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.00773, allocations: 3.938 kB / 0.8164 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.368e-05/0.007754, allocations: 5.625 kB / 0.8165 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003852/0.008139, allocations: 300.4 kB / 0.8167 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.963e-05/0.008189, allocations: 31 kB / 0.8168 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.952e-05/0.008209, allocations: 11.75 kB / 0.8168 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.88e-05/0.008267, allocations: 24.86 kB / 0.8168 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.008294, allocations: 37.39 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.008295, allocations: 0.8438 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.000168/0.008463, allocations: 75.02 kB / 0.8169 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.008497, allocations: 51.41 kB / 0.817 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.008818, allocations: 446.5 kB / 0.8174 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.00883, allocations: 29.7 kB / 0.8174 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.008945, allocations: 230.7 kB / 0.8176 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.008964, allocations: 8.844 kB / 0.8176 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.009015, allocations: 47.34 kB / 0.8177 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.009175, allocations: 0.5256 MB / 0.8182 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.173e-05/0.009197, allocations: 15.98 kB / 0.8182 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.102e-05/0.009218, allocations: 14.67 kB / 0.8182 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.19e-05/0.00927, allocations: 43.67 kB / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.009272, allocations: 0 / 0.8183 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001398/0.009412, allocations: 122.5 kB / 0.8184 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.064e-05/0.009432, allocations: 6.188 kB / 0.8184 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.009443, allocations: 3.938 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.009461, allocations: 7.938 kB / 0.8184 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.009581, allocations: 27.92 kB / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.748e-06/0.009586, allocations: 0 / 0.8184 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.73e-05/0.009643, allocations: 8.484 kB / 0.8184 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.032e-05/0.009654, allocations: 4 kB / 0.8184 GB, free: 10.67 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 9.835e-05/0.009752, allocations: 159 kB / 0.8186 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.009795, allocations: 31.8 kB / 0.8186 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.009924, allocations: 67.83 kB / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.009926, allocations: 0 / 0.8187 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.00993, allocations: 3.984 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.009934, allocations: 1.094 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.01009, allocations: 161.2 kB / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01009, allocations: 0 / 0.8188 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.902e-05/0.01012, allocations: 12.58 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01012, allocations: 3.406 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.01012, allocations: 4 kB / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.01013, allocations: 0 / 0.8189 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.01013, allocations: 7.938 kB / 0.8189 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.01024, allocations: 215.7 kB / 0.8191 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.01027, allocations: 31.77 kB / 0.8191 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.01029, allocations: 3.984 kB / 0.8191 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.01032, allocations: 0 / 0.8191 GB, free: 9.922 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.93e-05/0.01035, allocations: 7.938 kB / 0.8191 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.01036, allocations: 6.188 kB / 0.8191 GB, free: 9.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001468/0.0105, allocations: 279 kB / 0.8194 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0105, allocations: 0 / 0.8194 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002667/0.01077, allocations: 83.86 kB / 0.8195 GB, free: 9.562 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.0002314/0.011, allocations: 168 kB / 0.8196 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000108/0.01111, allocations: 43.61 kB / 0.8197 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.01111, allocations: 1.094 kB / 0.8197 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/0.01113, allocations: 11.69 kB / 0.8197 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01135, allocations: 30.5 kB / 0.8197 GB, free: 9.297 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.01185, allocations: 455.1 kB / 0.8202 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.846e-05/0.01192, allocations: 105.5 kB / 0.8203 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.151e-05/0.01196, allocations: 22.62 kB / 0.8203 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.01204, allocations: 86.2 kB / 0.8204 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of SimCode: time 1.001e-06/0.01204, allocations: 0 / 0.8204 GB, free: 8.598 MB / 0.7761 GB Notification: Performance of Templates: time 0.005203/0.01724, allocations: 3.133 MB / 0.8234 GB, free: 5.508 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.2499426496215165]