Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007861/0.0007861, allocations: 76.55 kB / 19.93 MB, free: 4.621 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.0007885/0.0007885, allocations: 177.9 kB / 23.22 MB, free: 1.332 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.8527/0.8527, allocations: 177.2 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.611/1.611, allocations: 359 MB / 0.6044 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.9517 GB, free: 3 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.586e-05/2.758e-05, allocations: 8.891 kB / 0.9517 GB, free: 2.992 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001916/0.001944, allocations: 1.479 MB / 0.9532 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0009737/0.002917, allocations: 0.7601 MB / 0.9539 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.405e-05/0.002961, allocations: 8 kB / 0.9539 GB, free: 0.7227 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.00316, allocations: 127.7 kB / 0.9541 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0004499/0.00361, allocations: 195.4 kB / 0.9542 GB, free: 416 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 9.618e-05/0.003707, allocations: 71.8 kB / 0.9543 GB, free: 344 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 8.445e-05/0.003791, allocations: 71.8 kB / 0.9544 GB, free: 272 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.003869, allocations: 7.984 kB / 0.9544 GB, free: 264 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.852e-05/0.003917, allocations: 39.94 kB / 0.9544 GB, free: 224 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.183e-05/0.004009, allocations: 87.83 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.004022, allocations: 4 kB / 0.9545 GB, free: 132 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.004307, allocations: 239.6 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.004407, allocations: 111.6 kB / 0.9548 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004442, allocations: 39.86 kB / 0.9549 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003055/0.004748, allocations: 351 kB / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.00475, allocations: 0 / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.02e-07/0.00475, allocations: 0 / 0.9552 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.004754, allocations: 3.938 kB / 0.9552 GB, free: 15.4 MB / 0.9167 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.0005183/0.005273, allocations: 0.5157 MB / 0.9557 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.005305, allocations: 8.031 kB / 0.9557 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.005345, allocations: 28.75 kB / 0.9558 GB, free: 14.82 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002404/0.005585, allocations: 328 kB / 0.9561 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.005597, allocations: 12.36 kB / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.316e-06/0.005605, allocations: 384 / 0.9561 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.005733, allocations: 78.23 kB / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.00574, allocations: 4.188 kB / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.005748, allocations: 384 / 0.9562 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.005754, allocations: 7.922 kB / 0.9562 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.00587, allocations: 95.94 kB / 0.9563 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000378/0.006248, allocations: 396.4 kB / 0.9566 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.006364, allocations: 110.5 kB / 0.9567 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.038e-05/0.006425, allocations: 56.89 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.006466, allocations: 19.98 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.006485, allocations: 34.5 kB / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.006487, allocations: 0 / 0.9569 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2): time 0.0002841/0.006771, allocations: 213.5 kB / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.006802, allocations: 59.41 kB / 0.9571 GB, free: 13.33 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.007181, allocations: 0.5327 MB / 0.9576 GB, free: 12.79 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.007191, allocations: 25.7 kB / 0.9577 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 8.246e-05/0.007273, allocations: 160 kB / 0.9578 GB, free: 12.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.77e-05/0.007291, allocations: 15.89 kB / 0.9578 GB, free: 12.58 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.00733, allocations: 33.7 kB / 0.9579 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.24e-05/0.007423, allocations: 346.8 kB / 0.9582 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.457e-05/0.007517, allocations: 95.92 kB / 0.9583 GB, free: 12.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.503e-05/0.007602, allocations: 91.94 kB / 0.9584 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.007762, allocations: 179.7 kB / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.007764, allocations: 0 / 0.9585 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003321/0.008096, allocations: 269.2 kB / 0.9588 GB, free: 11.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.008111, allocations: 11.94 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.008117, allocations: 3.938 kB / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.00813, allocations: 0 / 0.9588 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.008221, allocations: 31.98 kB / 0.9588 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.008226, allocations: 4 kB / 0.9588 GB, free: 11.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.526e-05/0.008261, allocations: 7.984 kB / 0.9589 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.008269, allocations: 4 kB / 0.9589 GB, free: 11.5 MB / 0.9167 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 9.438e-05/0.008364, allocations: 165.7 kB / 0.959 GB, free: 11.33 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.753e-05/0.008391, allocations: 35.7 kB / 0.9591 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.008573, allocations: 171.9 kB / 0.9592 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.008575, allocations: 0 / 0.9592 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.008579, allocations: 7.969 kB / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.008582, allocations: 0 / 0.9592 GB, free: 11.11 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.008729, allocations: 217.2 kB / 0.9594 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.008731, allocations: 0 / 0.9594 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.008757, allocations: 4 kB / 0.9594 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.008758, allocations: 0 / 0.9594 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.008766, allocations: 7.938 kB / 0.9594 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.008767, allocations: 0 / 0.9594 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.008768, allocations: 0 / 0.9594 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.008934, allocations: 259.2 kB / 0.9597 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.008975, allocations: 39.8 kB / 0.9597 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.00899, allocations: 3.938 kB / 0.9597 GB, free: 10.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.485e-05/0.009045, allocations: 11.98 kB / 0.9597 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.009077, allocations: 0 / 0.9597 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.00908, allocations: 4 kB / 0.9597 GB, free: 10.53 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002456/0.009326, allocations: 399 kB / 0.9601 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.009326, allocations: 0 / 0.9601 GB, free: 10.14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002231/0.009549, allocations: 79.86 kB / 0.9602 GB, free: 10.07 MB / 0.9167 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.0002129/0.009762, allocations: 167.2 kB / 0.9604 GB, free: 9.891 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.009993, allocations: 167.8 kB / 0.9605 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.009996, allocations: 0 / 0.9605 GB, free: 9.727 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.539e-05/0.01006, allocations: 55.91 kB / 0.9606 GB, free: 9.672 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01032, allocations: 17.5 kB / 0.9606 GB, free: 9.652 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005968/0.01091, allocations: 0.5327 MB / 0.9611 GB, free: 9.09 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.01103, allocations: 157.5 kB / 0.9613 GB, free: 8.914 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.01107, allocations: 20.5 kB / 0.9613 GB, free: 8.895 MB / 0.9167 GB Notification: Performance of SimCode: time 3.6e-07/0.01107, allocations: 7.938 kB / 0.9613 GB, free: 8.887 MB / 0.9167 GB Notification: Performance of Templates: time 0.003616/0.01469, allocations: 3.463 MB / 0.9647 GB, free: 5.441 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 6.383648661896586]