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.00188/0.00188, allocations: 102.7 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001816/0.001816, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.505/1.505, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.331/3.331, allocations: 0.49 GB / 0.7915 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 80.39 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.344, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002743/0.3468, allocations: 1.509 MB / 1.323 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3481, allocations: 0.779 MB / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.3481, allocations: 0 / 1.324 GB, free: 496 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.3484, allocations: 135.7 kB / 1.324 GB, free: 360 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001087/0.3485, allocations: 75.83 kB / 1.324 GB, free: 284 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005811/0.3491, allocations: 178.5 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.3492, allocations: 63.75 kB / 1.324 GB, free: 44 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.3492, allocations: 15.92 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.3493, allocations: 39.94 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3494, allocations: 87.83 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.337e-05/0.3495, allocations: 4 kB / 1.324 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003726/0.3498, allocations: 231.6 kB / 1.324 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.3499, allocations: 59.83 kB / 1.324 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.445e-05/0.35, allocations: 55.48 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.3504, allocations: 279 kB / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3504, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3504, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.3504, allocations: 0 / 1.325 GB, free: 15.29 MB / 1.029 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.0007227/0.3511, allocations: 0.5135 MB / 1.325 GB, free: 14.72 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.3511, allocations: 15.98 kB / 1.325 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.3512, allocations: 20.8 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002765/0.3515, allocations: 263.8 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3515, allocations: 4.375 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.318e-05/0.3515, allocations: 4.375 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.3517, allocations: 77.97 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.3517, allocations: 3.938 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.3517, allocations: 4 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3517, allocations: 4 kB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002239/0.3519, allocations: 83.92 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005513/0.3525, allocations: 392.8 kB / 1.326 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.3527, allocations: 90.53 kB / 1.326 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.3528, allocations: 48.88 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.222e-05/0.3528, allocations: 19.92 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.3528, allocations: 38.5 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.113e-06/0.3529, allocations: 0 / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.000459/0.3533, allocations: 181.5 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.3534, allocations: 51.41 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003912/0.3537, allocations: 363.1 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3538, allocations: 25.7 kB / 1.327 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3539, allocations: 136.1 kB / 1.327 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.282e-05/0.3539, allocations: 3.953 kB / 1.327 GB, free: 12.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.3539, allocations: 25.7 kB / 1.327 GB, free: 12.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3541, allocations: 338.8 kB / 1.327 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.3543, allocations: 104 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.3545, allocations: 102.7 kB / 1.327 GB, free: 12.2 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003251/0.3548, allocations: 208.7 kB / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3548, allocations: 0 / 1.328 GB, free: 12 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003956/0.3552, allocations: 253.4 kB / 1.328 GB, free: 11.74 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3552, allocations: 8 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3552, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.3552, allocations: 4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.414e-05/0.3553, allocations: 4 kB / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3553, allocations: 0 / 1.328 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.3554, allocations: 23.83 kB / 1.328 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.3554, allocations: 0 / 1.328 GB, free: 11.7 MB / 1.029 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 0.0001311/0.3555, allocations: 153.7 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3556, allocations: 23.86 kB / 1.328 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003117/0.3559, allocations: 134.6 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3559, allocations: 3.984 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.3559, allocations: 4 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.3559, allocations: 0 / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.3562, allocations: 241.5 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3562, allocations: 0 / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.876e-05/0.3562, allocations: 8 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3562, allocations: 4.031 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.3562, allocations: 0 / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3562, allocations: 0 / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.3562, allocations: 0 / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003382/0.3566, allocations: 243.2 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.3567, allocations: 105 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3567, allocations: 4.031 kB / 1.329 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.032e-05/0.3568, allocations: 7.984 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.521e-05/0.3568, allocations: 0 / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-06/0.3568, allocations: 4 kB / 1.329 GB, free: 10.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000267/0.3571, allocations: 245.9 kB / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3571, allocations: 0 / 1.329 GB, free: 10.45 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003778/0.3575, allocations: 71.86 kB / 1.329 GB, free: 10.38 MB / 1.029 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.0003215/0.3578, allocations: 155.1 kB / 1.329 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003505/0.3582, allocations: 155.9 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.3582, allocations: 3.938 kB / 1.329 GB, free: 10.06 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3583, allocations: 43.97 kB / 1.33 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/0.3586, allocations: 22.62 kB / 1.33 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006175/0.3592, allocations: 379.5 kB / 1.33 GB, free: 9.594 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.3596, allocations: 0.7392 MB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.3597, allocations: 16.55 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.3597, allocations: 11.44 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3597, allocations: 4 kB / 1.331 GB, free: 8.797 MB / 1.029 GB Notification: Performance of Templates: time 0.005682/0.3654, allocations: 2.109 MB / 1.333 GB, free: 6.688 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.857873334083706]