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.001005/0.001005, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009728/0.0009728, allocations: 161 kB / 23.82 MB, free: 0.75 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.9587/0.9587, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.863/1.863, allocations: 377.8 MB / 0.6236 GB, free: 8.535 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.522e-06/1.522e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.735e-05/2.887e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002026/0.002055, allocations: 1.513 MB / 0.813 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.003086, allocations: 0.7934 MB / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.003133, allocations: 0 / 0.8138 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.003357, allocations: 132.9 kB / 0.8139 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.003864, allocations: 185.9 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001203/0.003984, allocations: 77.16 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.836e-05/0.004082, allocations: 63.81 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.189e-05/0.004164, allocations: 9.141 kB / 0.8142 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.004217, allocations: 43.89 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.004318, allocations: 87.81 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.004332, allocations: 5.188 kB / 0.8144 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003194/0.004652, allocations: 243.6 kB / 0.8146 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.00477, allocations: 107.7 kB / 0.8147 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.004814, allocations: 40.92 kB / 0.8148 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003356/0.005149, allocations: 335 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.005153, allocations: 0 / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.082e-06/0.005154, allocations: 0 / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.005159, allocations: 0.8125 kB / 0.8151 GB, free: 14.1 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.0005781/0.005737, allocations: 0.6091 MB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.005775, allocations: 8.031 kB / 0.8157 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.005827, allocations: 32.75 kB / 0.8157 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.006041, allocations: 246.9 kB / 0.8159 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.006054, allocations: 5.688 kB / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.006067, allocations: 384 / 0.8159 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.00619, allocations: 54.95 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.006202, allocations: 1.812 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.006212, allocations: 4.312 kB / 0.816 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.006221, allocations: 3.938 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.884e-05/0.006249, allocations: 7.938 kB / 0.816 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.006635, allocations: 366.5 kB / 0.8164 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.451e-05/0.006689, allocations: 35.05 kB / 0.8164 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.006712, allocations: 11.69 kB / 0.8164 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.272e-05/0.006764, allocations: 20.05 kB / 0.8164 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.00679, allocations: 41.33 kB / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.006791, allocations: 0 / 0.8165 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001679/0.006959, allocations: 73.91 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.006994, allocations: 55.94 kB / 0.8166 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003175/0.007312, allocations: 464.6 kB / 0.817 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.007321, allocations: 25.7 kB / 0.8171 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.936e-05/0.00742, allocations: 222.8 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.659e-05/0.007437, allocations: 3.953 kB / 0.8173 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.007484, allocations: 47.36 kB / 0.8173 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.007614, allocations: 0.5252 MB / 0.8178 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.254e-05/0.007646, allocations: 15.98 kB / 0.8178 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.842e-05/0.007675, allocations: 20 kB / 0.8179 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.007736, allocations: 51.61 kB / 0.8179 GB, free: 11 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.007738, allocations: 4 kB / 0.8179 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001324/0.007871, allocations: 125.2 kB / 0.818 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.007887, allocations: 7.938 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.007892, allocations: 0.8438 kB / 0.818 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.007908, allocations: 4 kB / 0.8181 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.008021, allocations: 32.77 kB / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.008026, allocations: 0 / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.008059, allocations: 5.281 kB / 0.8181 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.934e-06/0.008066, allocations: 4 kB / 0.8181 GB, free: 10.82 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 7.395e-05/0.00814, allocations: 160.6 kB / 0.8182 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.008171, allocations: 32.59 kB / 0.8183 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001065/0.008278, allocations: 63.94 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.00828, allocations: 2.906 kB / 0.8183 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.008284, allocations: 7.938 kB / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.008287, allocations: 0 / 0.8183 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.008448, allocations: 216.6 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.00845, allocations: 3.938 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.008478, allocations: 4 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.00848, allocations: 0 / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.008488, allocations: 10.56 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.00849, allocations: 0 / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.008493, allocations: 4 kB / 0.8186 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.008602, allocations: 207.8 kB / 0.8188 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.008644, allocations: 39.75 kB / 0.8188 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.008661, allocations: 3.938 kB / 0.8188 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.008704, allocations: 8 kB / 0.8188 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.739e-05/0.008742, allocations: 4.922 kB / 0.8188 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.337e-06/0.008745, allocations: 4 kB / 0.8188 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001803/0.008925, allocations: 304.2 kB / 0.8191 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.008925, allocations: 3.938 kB / 0.8191 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002677/0.009193, allocations: 79.88 kB / 0.8192 GB, free: 9.617 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.0002287/0.009422, allocations: 168.1 kB / 0.8194 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001118/0.009534, allocations: 48.8 kB / 0.8194 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.009535, allocations: 0 / 0.8194 GB, free: 9.395 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.968e-05/0.009555, allocations: 19.61 kB / 0.8194 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.009783, allocations: 22.5 kB / 0.8194 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005052/0.01029, allocations: 451.6 kB / 0.8199 GB, free: 8.879 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.5e-05/0.01035, allocations: 108.7 kB / 0.82 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.357e-05/0.01039, allocations: 30.61 kB / 0.82 GB, free: 8.727 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.863e-05/0.01043, allocations: 17.16 kB / 0.82 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of SimCode: time 8.11e-07/0.01043, allocations: 0 / 0.82 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of Templates: time 0.005133/0.01556, allocations: 2.901 MB / 0.8229 GB, free: 5.848 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.192434197757393]