Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.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.0009553/0.0009553, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.0009502/0.0009502, 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.9266/0.9266, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.846/1.846, allocations: 377.8 MB / 0.6239 GB, free: 8.543 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.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|m_flow",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.391e-05/1.537e-05, allocations: 4.281 kB / 0.8116 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001823/0.001838, allocations: 1.552 MB / 0.8131 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009646/0.002803, allocations: 0.7374 MB / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.088e-05/0.002844, allocations: 0 / 0.8138 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.003032, allocations: 130.9 kB / 0.8139 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.00311, allocations: 71.77 kB / 0.814 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.003617, allocations: 185.5 kB / 0.8142 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.824e-05/0.003715, allocations: 71.75 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.129e-05/0.003746, allocations: 1.125 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.271e-05/0.003799, allocations: 39.94 kB / 0.8143 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.003892, allocations: 92.39 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.003904, allocations: 0 / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.004189, allocations: 244.1 kB / 0.8146 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.004267, allocations: 61.22 kB / 0.8147 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.004301, allocations: 31.86 kB / 0.8147 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.004599, allocations: 299.1 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.004602, allocations: 4 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.004603, allocations: 1.156 kB / 0.815 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.004606, allocations: 0 / 0.815 GB, free: 14.5 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.0004466/0.005053, allocations: 0.5303 MB / 0.8155 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.005086, allocations: 12.97 kB / 0.8155 GB, free: 13.92 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.314e-05/0.00513, allocations: 20.8 kB / 0.8155 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.005273, allocations: 189.6 kB / 0.8157 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.005285, allocations: 4.375 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.005294, allocations: 1.406 kB / 0.8157 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.005396, allocations: 50.95 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.005403, allocations: 192 / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.005411, allocations: 1.656 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.555e-06/0.005419, allocations: 3.938 kB / 0.8158 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.862e-05/0.005447, allocations: 11.98 kB / 0.8158 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.005766, allocations: 340.6 kB / 0.8161 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 4.995e-05/0.005816, allocations: 35 kB / 0.8162 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.045e-05/0.005836, allocations: 12.67 kB / 0.8162 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.005889, allocations: 24.03 kB / 0.8162 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.005914, allocations: 38.77 kB / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.005914, allocations: 0 / 0.8162 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.006055, allocations: 65.45 kB / 0.8163 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.531e-05/0.00608, allocations: 52.72 kB / 0.8163 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.006291, allocations: 354.3 kB / 0.8167 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.006303, allocations: 33.64 kB / 0.8167 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.006396, allocations: 190.8 kB / 0.8169 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.184e-05/0.006407, allocations: 14.92 kB / 0.8169 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.006443, allocations: 39.34 kB / 0.8169 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.006566, allocations: 0.5118 MB / 0.8174 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.659e-05/0.006593, allocations: 20 kB / 0.8175 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.006611, allocations: 16 kB / 0.8175 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.163e-05/0.006663, allocations: 58.34 kB / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006664, allocations: 0 / 0.8175 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 9.25e-05/0.006757, allocations: 105.5 kB / 0.8176 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.006771, allocations: 15.09 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.006776, allocations: 1.938 kB / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.006787, allocations: 0 / 0.8177 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.416e-05/0.006842, allocations: 4 kB / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.006846, allocations: 0 / 0.8177 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.006873, allocations: 11.89 kB / 0.8177 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006879, allocations: 4.844 kB / 0.8177 GB, free: 11.57 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 5.979e-05/0.006939, allocations: 157.4 kB / 0.8178 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.006961, allocations: 23.8 kB / 0.8178 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.638e-05/0.007037, allocations: 57.38 kB / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.007038, allocations: 0 / 0.8179 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.007041, allocations: 7.938 kB / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.007043, allocations: 0 / 0.8179 GB, free: 11.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001329/0.007176, allocations: 192.5 kB / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.007177, allocations: 0 / 0.8181 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.152e-05/0.007198, allocations: 11.98 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.0072, allocations: 2.844 kB / 0.8181 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.007207, allocations: 7.938 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.007208, allocations: 0 / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007209, allocations: 4 kB / 0.8181 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.007311, allocations: 195.8 kB / 0.8183 GB, free: 10.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.461e-05/0.007336, allocations: 31.8 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.007349, allocations: 3.938 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.521e-05/0.007384, allocations: 4.938 kB / 0.8183 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.007415, allocations: 7.984 kB / 0.8183 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-06/0.007417, allocations: 1.125 kB / 0.8184 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001187/0.007536, allocations: 234.9 kB / 0.8186 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007536, allocations: 3.938 kB / 0.8186 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002241/0.00776, allocations: 64.98 kB / 0.8186 GB, free: 10.51 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.0001888/0.007949, allocations: 167.1 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.008039, allocations: 36.78 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.00804, allocations: 0 / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.7e-05/0.008057, allocations: 12.84 kB / 0.8188 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.008246, allocations: 20.58 kB / 0.8189 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005275/0.008773, allocations: 330 kB / 0.8192 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.677e-05/0.00882, allocations: 84.27 kB / 0.8193 GB, free: 9.812 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.008846, allocations: 13.83 kB / 0.8193 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.00887, allocations: 12.5 kB / 0.8193 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.008871, allocations: 0 / 0.8193 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of Templates: time 0.003688/0.01256, allocations: 2.176 MB / 0.8214 GB, free: 7.645 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_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.921566252131015]