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.002003/0.002003, allocations: 111 kB / 16.46 MB, free: 6.453 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.001735/0.001735, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.487/1.487, allocations: 230.6 MB / 252.8 MB, free: 8.961 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.238/3.238, allocations: 0.4899 GB / 0.7915 GB, free: 33.46 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.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: 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.002157/0.002157, allocations: 68.48 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3741, allocations: 176.1 MB / 1.321 GB, free: 2.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003031/0.3771, allocations: 1.494 MB / 1.323 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3788, allocations: 0.8141 MB / 1.324 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.421e-05/0.3789, allocations: 4 kB / 1.324 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002882/0.3792, allocations: 139.7 kB / 1.324 GB, free: 376 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.3798, allocations: 185.2 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.38, allocations: 71.8 kB / 1.324 GB, free: 120 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.3801, allocations: 71.8 kB / 1.324 GB, free: 48 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 8.762e-05/0.3802, allocations: 7.938 kB / 1.324 GB, free: 40 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.896e-05/0.3803, allocations: 43.95 kB / 1.324 GB, free: 15.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.3805, allocations: 87.75 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.3805, allocations: 4 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004424/0.3809, allocations: 231.6 kB / 1.324 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.3811, allocations: 103.7 kB / 1.324 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.076e-05/0.3812, allocations: 91.27 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.3816, allocations: 318.7 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3816, allocations: 0 / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 9.52e-07/0.3816, allocations: 4 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.3816, allocations: 0 / 1.325 GB, free: 15.17 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.0008717/0.3825, allocations: 0.5755 MB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3825, allocations: 19.92 kB / 1.325 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.872e-05/0.3826, allocations: 28.75 kB / 1.325 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.3831, allocations: 382.6 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.3831, allocations: 4.375 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.3831, allocations: 8.375 kB / 1.326 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.3833, allocations: 81.98 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3833, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.3833, allocations: 3.984 kB / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.3833, allocations: 0 / 1.326 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.3836, allocations: 95.94 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006236/0.3842, allocations: 472.6 kB / 1.326 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3844, allocations: 102.5 kB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3845, allocations: 56.88 kB / 1.327 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.633e-05/0.3846, allocations: 23.98 kB / 1.327 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3846, allocations: 34.56 kB / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3846, allocations: 0 / 1.327 GB, free: 13.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0005242/0.3852, allocations: 209.3 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.3852, allocations: 55.41 kB / 1.327 GB, free: 12.87 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006403/0.3858, allocations: 0.5366 MB / 1.327 GB, free: 12.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3859, allocations: 25.7 kB / 1.327 GB, free: 12.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.386, allocations: 164.2 kB / 1.328 GB, free: 12.13 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.785e-05/0.386, allocations: 7.953 kB / 1.328 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.965e-05/0.3861, allocations: 45.59 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3862, allocations: 346.8 kB / 1.328 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.3864, allocations: 91.94 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001715/0.3866, allocations: 99.86 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.3869, allocations: 183.4 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3869, allocations: 0 / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004431/0.3874, allocations: 265.3 kB / 1.329 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.3874, allocations: 8 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.3874, allocations: 3.984 kB / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3874, allocations: 0 / 1.329 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001473/0.3876, allocations: 23.98 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.3876, allocations: 4 kB / 1.329 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.3876, allocations: 15.94 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.3876, allocations: 0 / 1.329 GB, free: 11.04 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 (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 0.0001644/0.3878, allocations: 173.7 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.3879, allocations: 31.81 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003384/0.3882, allocations: 159.8 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3882, allocations: 0 / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3882, allocations: 4.031 kB / 1.329 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.3882, allocations: 4 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003175/0.3885, allocations: 281.4 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3885, allocations: 0 / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.211e-05/0.3886, allocations: 8 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.3886, allocations: 3.984 kB / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.793e-06/0.3886, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3886, allocations: 0 / 1.329 GB, free: 10.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.3886, allocations: 7.938 kB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003733/0.389, allocations: 263.2 kB / 1.33 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000111/0.3891, allocations: 116.9 kB / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.3891, allocations: 0 / 1.33 GB, free: 9.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.3892, allocations: 7.984 kB / 1.33 GB, free: 9.895 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.3893, allocations: 7.984 kB / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.3893, allocations: 0 / 1.33 GB, free: 9.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004512/0.3897, allocations: 403.1 kB / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3897, allocations: 0 / 1.33 GB, free: 9.492 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003928/0.3901, allocations: 79.92 kB / 1.33 GB, free: 9.414 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.000334/0.3904, allocations: 151 kB / 1.33 GB, free: 9.254 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003887/0.3908, allocations: 163.8 kB / 1.33 GB, free: 9.094 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3908, allocations: 0 / 1.33 GB, free: 9.094 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.391, allocations: 51.97 kB / 1.33 GB, free: 9.043 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3913, allocations: 25.48 kB / 1.33 GB, free: 9.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.3922, allocations: 0.5354 MB / 1.331 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.3927, allocations: 0.7819 MB / 1.332 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.634e-05/0.3927, allocations: 30.55 kB / 1.332 GB, free: 7.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.425e-05/0.3928, allocations: 15.44 kB / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.3928, allocations: 0 / 1.332 GB, free: 7.609 MB / 1.029 GB Notification: Performance of Templates: time 0.007323/0.4001, allocations: 2.795 MB / 1.335 GB, free: 4.812 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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.948559323791414]