Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001391/0.001391, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001539/0.001539, allocations: 157.7 kB / 22.76 MB, free: 1.68 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 1.473/1.473, allocations: 177.1 MB / 203.1 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.21/3.21, allocations: 429.6 MB / 0.673 GB, free: 3.883 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8776 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.292e-05/2.453e-05, allocations: 3.453 kB / 0.8776 GB, free: 6.414 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002805/0.00283, allocations: 1.535 MB / 0.8791 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.004249, allocations: 0.7079 MB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.228e-05/0.004282, allocations: 0 / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.004545, allocations: 128.6 kB / 0.88 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.004669, allocations: 81.84 kB / 0.88 GB, free: 3.984 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.005321, allocations: 180.6 kB / 0.8802 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001225/0.005443, allocations: 71.8 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.698e-05/0.00547, allocations: 3.438 kB / 0.8803 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.034e-05/0.005551, allocations: 43.88 kB / 0.8803 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.005689, allocations: 87.89 kB / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.005704, allocations: 0 / 0.8804 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.006177, allocations: 247.5 kB / 0.8806 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.006282, allocations: 67.77 kB / 0.8807 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.403e-05/0.006337, allocations: 27.88 kB / 0.8807 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0004701/0.006807, allocations: 311.1 kB / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.006809, allocations: 1 kB / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.32e-07/0.00681, allocations: 0 / 0.881 GB, free: 2.969 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.006814, allocations: 0 / 0.881 GB, free: 2.969 MB / 0.8386 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.0007419/0.007555, allocations: 441.3 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.007591, allocations: 13.47 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.007652, allocations: 20.8 kB / 0.8815 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.007927, allocations: 206 kB / 0.8817 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.007938, allocations: 384 / 0.8817 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.007947, allocations: 5.562 kB / 0.8817 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.008161, allocations: 78.22 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.008169, allocations: 1.469 kB / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.008178, allocations: 384 / 0.8818 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.008186, allocations: 3.938 kB / 0.8818 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/0.008492, allocations: 91.92 kB / 0.8819 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.009066, allocations: 340.4 kB / 0.8822 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.009261, allocations: 90.45 kB / 0.8823 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.009385, allocations: 48.89 kB / 0.8823 GB, free: 1.559 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.5e-05/0.00943, allocations: 15.98 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.009465, allocations: 42.44 kB / 0.8824 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.009466, allocations: 4 kB / 0.8824 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0004955/0.009961, allocations: 177.5 kB / 0.8825 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.01001, allocations: 55.34 kB / 0.8826 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004236/0.01043, allocations: 356.5 kB / 0.8829 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.01045, allocations: 25.7 kB / 0.883 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.01057, allocations: 136.1 kB / 0.8831 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.01059, allocations: 3.953 kB / 0.8831 GB, free: 0.7148 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/0.01064, allocations: 29.7 kB / 0.8831 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.01083, allocations: 342.9 kB / 0.8834 GB, free: 344 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.01103, allocations: 91.95 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.0112, allocations: 99.88 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.01156, allocations: 196.8 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.01156, allocations: 4 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004468/0.01201, allocations: 257.4 kB / 0.8841 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.01203, allocations: 11.88 kB / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.01203, allocations: 0 / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01205, allocations: 0 / 0.8841 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.969e-05/0.01214, allocations: 11.98 kB / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.01214, allocations: 0 / 0.8841 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.01222, allocations: 15.84 kB / 0.8841 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.01222, allocations: 0 / 0.8841 GB, free: 15.65 MB / 0.8542 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.0001393/0.01236, allocations: 149.8 kB / 0.8842 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.054e-05/0.01241, allocations: 23.8 kB / 0.8843 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003342/0.01275, allocations: 142.7 kB / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.01275, allocations: 0 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.01275, allocations: 0 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.01275, allocations: 0 / 0.8844 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.01301, allocations: 189.4 kB / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.01301, allocations: 0 / 0.8846 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.769e-05/0.01308, allocations: 15.91 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.01308, allocations: 4 kB / 0.8846 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.01309, allocations: 7.969 kB / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01309, allocations: 0 / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01309, allocations: 0 / 0.8846 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000356/0.01345, allocations: 227.3 kB / 0.8848 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.0135, allocations: 31.78 kB / 0.8849 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01353, allocations: 7.938 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.469e-05/0.01362, allocations: 4 kB / 0.8849 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.01366, allocations: 7.984 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.01367, allocations: 4.031 kB / 0.8849 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003012/0.01397, allocations: 251 kB / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01397, allocations: 0 / 0.8851 GB, free: 14.54 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003538/0.01432, allocations: 67.86 kB / 0.8852 GB, free: 14.47 MB / 0.8542 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.0003281/0.01465, allocations: 171.1 kB / 0.8853 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003717/0.01502, allocations: 143.8 kB / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.01502, allocations: 0 / 0.8855 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01515, allocations: 47.97 kB / 0.8855 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.01546, allocations: 11.31 kB / 0.8855 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.01614, allocations: 387.7 kB / 0.8859 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.01629, allocations: 127.3 kB / 0.886 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.01633, allocations: 20.42 kB / 0.8861 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.01637, allocations: 20.5 kB / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.01637, allocations: 0 / 0.8861 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of Templates: time 0.006044/0.02242, allocations: 2.143 MB / 0.8882 GB, free: 11.38 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.249901267001405]