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.001264/0.001264, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00126/0.00126, allocations: 161 kB / 23.82 MB, free: 0.7539 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.9877/0.9877, allocations: 177.1 MB / 204.2 MB, free: 5.449 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.758/1.758, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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 2.205e-06/2.205e-06, allocations: 3.984 kB / 0.8115 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.714e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.758 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001716/0.001733, allocations: 1.522 MB / 0.813 GB, free: 252 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009776/0.00271, allocations: 0.7857 MB / 0.8138 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.921e-05/0.00275, allocations: 4 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002056/0.002955, allocations: 124.7 kB / 0.8139 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004849/0.00344, allocations: 189.9 kB / 0.8141 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001147/0.003555, allocations: 77.27 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.825e-05/0.003653, allocations: 67.8 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.252e-05/0.003726, allocations: 8 kB / 0.8143 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.00378, allocations: 47.86 kB / 0.8143 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.003884, allocations: 89.05 kB / 0.8144 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.003899, allocations: 0 / 0.8144 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.00423, allocations: 244.9 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.004335, allocations: 103.7 kB / 0.8147 GB, free: 14.53 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.323e-05/0.004378, allocations: 43.86 kB / 0.8148 GB, free: 14.48 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.004709, allocations: 339 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004711, allocations: 1.75 kB / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.82e-07/0.004712, allocations: 0 / 0.8151 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.858e-06/0.004716, allocations: 0 / 0.8151 GB, free: 14.15 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.0005964/0.005312, allocations: 0.6078 MB / 0.8157 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.005344, allocations: 12.69 kB / 0.8157 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.939e-05/0.005393, allocations: 28.75 kB / 0.8157 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.005576, allocations: 243.8 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.005588, allocations: 384 / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.003e-05/0.005598, allocations: 4.375 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/0.0057, allocations: 51.52 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.572e-06/0.005707, allocations: 1.562 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-06/0.005716, allocations: 4.359 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.005724, allocations: 3.938 kB / 0.816 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.005749, allocations: 10.58 kB / 0.816 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/0.006069, allocations: 379.7 kB / 0.8164 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.006116, allocations: 27.06 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.998e-05/0.006136, allocations: 7.688 kB / 0.8164 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.255e-05/0.006179, allocations: 24.05 kB / 0.8164 GB, free: 12.65 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.907e-05/0.006198, allocations: 37.33 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 6.72e-07/0.006199, allocations: 0.5312 kB / 0.8165 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001426/0.006341, allocations: 78.11 kB / 0.8165 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.006368, allocations: 55.41 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002918/0.00666, allocations: 463.2 kB / 0.817 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.00667, allocations: 27.36 kB / 0.8171 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.006767, allocations: 214.8 kB / 0.8173 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.006783, allocations: 7.953 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.006825, allocations: 43.36 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.006947, allocations: 0.5274 MB / 0.8178 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.848e-05/0.006976, allocations: 16.5 kB / 0.8179 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.477e-05/0.007001, allocations: 20.58 kB / 0.8179 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.543e-05/0.007056, allocations: 51.62 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.007058, allocations: 0.7812 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001213/0.007179, allocations: 131.4 kB / 0.818 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.007193, allocations: 12.53 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.007197, allocations: 1.125 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.007211, allocations: 3.984 kB / 0.8181 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.688e-05/0.007308, allocations: 20 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.007313, allocations: 1 kB / 0.8181 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.15e-05/0.007345, allocations: 11.98 kB / 0.8181 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.007351, allocations: 4.844 kB / 0.8181 GB, free: 10.87 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.21e-05/0.007414, allocations: 156.5 kB / 0.8183 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/0.007441, allocations: 41.97 kB / 0.8183 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-05/0.007541, allocations: 63.94 kB / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007543, allocations: 0 / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007546, allocations: 0 / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.007548, allocations: 0 / 0.8184 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001468/0.007695, allocations: 219.3 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.007696, allocations: 0 / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.111e-05/0.007717, allocations: 4 kB / 0.8186 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007719, allocations: 3.984 kB / 0.8186 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.007727, allocations: 15.88 kB / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.007728, allocations: 0 / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007729, allocations: 0 / 0.8186 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.105e-05/0.00782, allocations: 209.3 kB / 0.8188 GB, free: 10.11 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.007855, allocations: 39.75 kB / 0.8188 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.00787, allocations: 3.938 kB / 0.8188 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.704e-05/0.007907, allocations: 7.984 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.007937, allocations: 0.5 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.007941, allocations: 4.5 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000167/0.008108, allocations: 303.1 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008108, allocations: 1.875 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002305/0.008339, allocations: 83.86 kB / 0.8192 GB, free: 9.676 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.0001945/0.008533, allocations: 163 kB / 0.8194 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.008636, allocations: 56.94 kB / 0.8194 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008637, allocations: 0 / 0.8194 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.735e-05/0.008655, allocations: 11.69 kB / 0.8194 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001927/0.008847, allocations: 18.59 kB / 0.8194 GB, free: 9.414 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004482/0.009295, allocations: 460.5 kB / 0.8199 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.842e-05/0.009354, allocations: 103.8 kB / 0.82 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.009387, allocations: 22.62 kB / 0.82 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.625e-05/0.009423, allocations: 22 kB / 0.82 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.009423, allocations: 0 / 0.82 GB, free: 8.777 MB / 0.7761 GB Notification: Performance of Templates: time 0.005044/0.01447, allocations: 3.127 MB / 0.8231 GB, free: 5.695 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: 4.920134253799915]