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.0009735/0.0009735, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009444/0.0009444, allocations: 164.5 kB / 24.86 MB, free: 8.891 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.9937/0.9937, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.875/1.875, allocations: 377.9 MB / 0.6247 GB, free: 8.43 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 9.92e-07/9.92e-07, allocations: 0 / 0.8128 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.146e-05, allocations: 4.984 kB / 0.8128 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001936/0.001958, allocations: 1.521 MB / 0.8143 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.002905, allocations: 0.7765 MB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.002949, allocations: 1.406 kB / 0.815 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001948/0.003144, allocations: 132.8 kB / 0.8152 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.003596, allocations: 185.7 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001251/0.003721, allocations: 68.64 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.849e-05/0.00382, allocations: 71.86 kB / 0.8155 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 6.518e-05/0.003885, allocations: 5.188 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 4.926e-05/0.003934, allocations: 47.92 kB / 0.8155 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.004026, allocations: 87.83 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.004039, allocations: 5.969 kB / 0.8156 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000318/0.004357, allocations: 243.5 kB / 0.8158 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.581e-05/0.004453, allocations: 103.8 kB / 0.8159 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.004488, allocations: 35.8 kB / 0.816 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003293/0.004817, allocations: 343 kB / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.004819, allocations: 0 / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.32e-07/0.00482, allocations: 1 kB / 0.8163 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.004825, allocations: 0 / 0.8163 GB, free: 13.86 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.0004907/0.005316, allocations: 0.6054 MB / 0.8169 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.005346, allocations: 12.03 kB / 0.8169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.85e-05/0.005384, allocations: 28.75 kB / 0.8169 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.005545, allocations: 234.9 kB / 0.8172 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.005554, allocations: 1.344 kB / 0.8172 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-06/0.00556, allocations: 384 / 0.8172 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.851e-05/0.005649, allocations: 51.7 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.005656, allocations: 192 / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-06/0.005661, allocations: 2.062 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.005668, allocations: 7.938 kB / 0.8172 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.584e-05/0.005733, allocations: 11.92 kB / 0.8172 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.006002, allocations: 300.4 kB / 0.8175 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.643e-05/0.006049, allocations: 31.67 kB / 0.8176 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.495e-05/0.006064, allocations: 11.75 kB / 0.8176 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.006099, allocations: 16.67 kB / 0.8176 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.00612, allocations: 42.02 kB / 0.8176 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.006121, allocations: 0 / 0.8176 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001249/0.006246, allocations: 74.41 kB / 0.8177 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.006272, allocations: 51.41 kB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.006515, allocations: 447 kB / 0.8182 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.006524, allocations: 29.7 kB / 0.8182 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.006624, allocations: 228.1 kB / 0.8184 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.006645, allocations: 3.953 kB / 0.8184 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.665e-05/0.006692, allocations: 51.33 kB / 0.8185 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.006816, allocations: 0.5246 MB / 0.819 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/0.006837, allocations: 12 kB / 0.819 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.006858, allocations: 15.98 kB / 0.819 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.006907, allocations: 50.39 kB / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006909, allocations: 0 / 0.819 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000113/0.007022, allocations: 122.2 kB / 0.8192 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.007035, allocations: 6.656 kB / 0.8192 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.007039, allocations: 5.625 kB / 0.8192 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.007049, allocations: 7.984 kB / 0.8192 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.189e-05/0.007131, allocations: 24 kB / 0.8192 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.007134, allocations: 0 / 0.8192 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.351e-05/0.007167, allocations: 16.61 kB / 0.8192 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.007172, allocations: 0 / 0.8192 GB, free: 10.69 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.383e-05/0.007246, allocations: 162.5 kB / 0.8194 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.007275, allocations: 27.81 kB / 0.8194 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.786e-05/0.007363, allocations: 67.88 kB / 0.8195 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.007365, allocations: 0 / 0.8195 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.007367, allocations: 0.8125 kB / 0.8195 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00737, allocations: 0 / 0.8195 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.007508, allocations: 168.6 kB / 0.8196 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.007509, allocations: 3.938 kB / 0.8196 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.007534, allocations: 4 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.007536, allocations: 0 / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.007541, allocations: 4 kB / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007542, allocations: 0 / 0.8196 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.007544, allocations: 3.938 kB / 0.8196 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.007653, allocations: 211.8 kB / 0.8198 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.24e-05/0.007685, allocations: 35.75 kB / 0.8199 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.0077, allocations: 4.625 kB / 0.8199 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.007741, allocations: 0.5 kB / 0.8199 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.548e-05/0.007766, allocations: 13.52 kB / 0.8199 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.007769, allocations: 0 / 0.8199 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001379/0.007907, allocations: 287 kB / 0.8202 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.007907, allocations: 0 / 0.8202 GB, free: 9.664 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002551/0.008162, allocations: 75.88 kB / 0.8202 GB, free: 9.59 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.0002001/0.008362, allocations: 167.9 kB / 0.8204 GB, free: 9.418 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 8.597e-05/0.008448, allocations: 48.47 kB / 0.8205 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.00845, allocations: 0 / 0.8205 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.65e-05/0.008466, allocations: 16.61 kB / 0.8205 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.008682, allocations: 29.17 kB / 0.8205 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004438/0.009125, allocations: 452.8 kB / 0.8209 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.717e-05/0.009183, allocations: 103.8 kB / 0.821 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.41e-05/0.009217, allocations: 26.56 kB / 0.8211 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.196e-05/0.009279, allocations: 86.2 kB / 0.8211 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of SimCode: time 4.51e-07/0.009279, allocations: 0 / 0.8211 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of Templates: time 0.00496/0.01424, allocations: 3.18 MB / 0.8242 GB, free: 5.492 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.126337926834822]