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.001713/0.001713, allocations: 116.5 kB / 17.13 MB, free: 5.945 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.001982/0.001982, allocations: 210.5 kB / 20.09 MB, free: 2.996 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.642/1.642, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.07/3.07, allocations: 0.49 GB / 0.7923 GB, free: 1.27 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.002942/0.002942, allocations: 71.91 kB / 1.15 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9883, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002326/0.9906, allocations: 1.519 MB / 1.323 GB, free: 23.99 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001061/0.9916, allocations: 0.7744 MB / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.856e-05/0.9917, allocations: 0 / 1.324 GB, free: 23.47 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001909/0.9919, allocations: 134.4 kB / 1.324 GB, free: 23.46 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.306e-05/0.992, allocations: 76.28 kB / 1.324 GB, free: 23.44 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000542/0.9925, allocations: 179.9 kB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.381e-05/0.9926, allocations: 62.39 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.317e-05/0.9926, allocations: 18.02 kB / 1.325 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.016e-05/0.9927, allocations: 37.66 kB / 1.325 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 9.998e-05/0.9928, allocations: 87.86 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.9928, allocations: 2.781 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.9931, allocations: 234.3 kB / 1.325 GB, free: 23.27 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.9932, allocations: 60.67 kB / 1.325 GB, free: 23.25 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.9932, allocations: 56.19 kB / 1.325 GB, free: 23.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.9935, allocations: 273.8 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9935, allocations: 0 / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.713e-06/0.9935, allocations: 6.719 kB / 1.325 GB, free: 23.13 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.9935, allocations: 0 / 1.325 GB, free: 23.13 MB / 1.061 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.0005361/0.994, allocations: 0.5042 MB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.9941, allocations: 14.83 kB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.547e-05/0.9941, allocations: 20.39 kB / 1.326 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.9943, allocations: 259.6 kB / 1.326 GB, free: 22.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.9943, allocations: 16.23 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.9943, allocations: 5.984 kB / 1.326 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.9945, allocations: 81.91 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.9945, allocations: 0 / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.9945, allocations: 0 / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9945, allocations: 2.844 kB / 1.326 GB, free: 22.35 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.9948, allocations: 82.44 kB / 1.326 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005251/0.9953, allocations: 398.8 kB / 1.327 GB, free: 22.05 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.9955, allocations: 101 kB / 1.327 GB, free: 22.01 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.9956, allocations: 43.36 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.485e-05/0.9956, allocations: 15.98 kB / 1.327 GB, free: 22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.603e-05/0.9957, allocations: 35.03 kB / 1.327 GB, free: 21.96 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9957, allocations: 0 / 1.327 GB, free: 21.96 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004702/0.9961, allocations: 181.7 kB / 1.327 GB, free: 21.91 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.9961, allocations: 56 kB / 1.327 GB, free: 21.84 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003785/0.9965, allocations: 351.3 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.9965, allocations: 26.36 kB / 1.328 GB, free: 21.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.155e-05/0.9966, allocations: 134.4 kB / 1.328 GB, free: 21.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.185e-05/0.9966, allocations: 7.969 kB / 1.328 GB, free: 21.53 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.9967, allocations: 35.67 kB / 1.328 GB, free: 21.5 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.594e-05/0.9967, allocations: 336.9 kB / 1.328 GB, free: 21.18 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.9969, allocations: 97 kB / 1.328 GB, free: 21.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.9971, allocations: 94.22 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.9974, allocations: 212 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.9974, allocations: 1 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003861/0.9978, allocations: 253.1 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.9978, allocations: 6.625 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.9978, allocations: 3.938 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.9978, allocations: 0.9375 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.221e-05/0.9979, allocations: 9.25 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.9979, allocations: 1.031 kB / 1.329 GB, free: 21.04 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.998, allocations: 20.91 kB / 1.329 GB, free: 21.03 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.998, allocations: 0.9688 kB / 1.329 GB, free: 21.03 MB / 1.061 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 8.809e-05/0.9981, allocations: 151.8 kB / 1.329 GB, free: 20.9 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.9981, allocations: 20.48 kB / 1.329 GB, free: 20.89 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002757/0.9984, allocations: 138.9 kB / 1.329 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9984, allocations: 1.562 kB / 1.329 GB, free: 20.85 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.9984, allocations: 4 kB / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.9984, allocations: 0 / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001947/0.9986, allocations: 247.9 kB / 1.329 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.9986, allocations: 0 / 1.329 GB, free: 20.63 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.246e-05/0.9987, allocations: 13.53 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.9987, allocations: 3.938 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.9987, allocations: 1.375 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.9987, allocations: 3.938 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.9987, allocations: 1.188 kB / 1.329 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002868/0.999, allocations: 235.4 kB / 1.329 GB, free: 20.46 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 5.401e-05/0.999, allocations: 102.7 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.9991, allocations: 2.078 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.924e-05/0.9992, allocations: 5.797 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.9992, allocations: 2.703 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.9992, allocations: 0 / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002569/0.9995, allocations: 251.2 kB / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.9995, allocations: 0 / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003768/0.9998, allocations: 73.81 kB / 1.33 GB, free: 20.23 MB / 1.061 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.0002763/1, allocations: 153.2 kB / 1.33 GB, free: 20.13 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003609/1, allocations: 146.9 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/1, allocations: 1.125 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/1.001, allocations: 41.69 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/1.001, allocations: 21.58 kB / 1.33 GB, free: 20.09 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006273/1.002, allocations: 415.4 kB / 1.331 GB, free: 19.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/1.002, allocations: 0.737 MB / 1.331 GB, free: 19.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/1.002, allocations: 17.94 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/1.002, allocations: 3.938 kB / 1.331 GB, free: 19.14 MB / 1.061 GB Notification: Performance of Templates: time 0.005681/1.007, allocations: 2.412 MB / 1.334 GB, free: 18.91 MB / 1.061 GB " [Timeout remaining time 299] 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/jenkins1/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: 12.389315968001029]