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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 115.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00211/0.00211, allocations: 193.4 kB / 22.17 MB, free: 5.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.133/3.133, allocations: 497.2 MB / 0.7845 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001982/0.001982, allocations: 69.92 kB / 1.139 GB, free: 33.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 173.9 MB / 1.309 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002841/0.3441, allocations: 1.506 MB / 1.311 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001288/0.3454, allocations: 0.7517 MB / 1.312 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.3454, allocations: 4 kB / 1.312 GB, free: 13.58 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3457, allocations: 127.7 kB / 1.312 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001006/0.3458, allocations: 71.83 kB / 1.312 GB, free: 13.38 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006338/0.3464, allocations: 194.4 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.3465, allocations: 55.88 kB / 1.312 GB, free: 13.14 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.069e-05/0.3466, allocations: 7.938 kB / 1.312 GB, free: 13.13 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.3466, allocations: 47.88 kB / 1.312 GB, free: 13.09 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.3467, allocations: 87.83 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.3468, allocations: 4 kB / 1.312 GB, free: 13 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.3471, allocations: 239.6 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.942e-05/0.3472, allocations: 59.83 kB / 1.312 GB, free: 12.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.199e-05/0.3473, allocations: 59.47 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003538/0.3476, allocations: 267 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3476, allocations: 4 kB / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.402e-06/0.3476, allocations: 0 / 1.313 GB, free: 12.38 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3477, allocations: 0 / 1.313 GB, free: 12.38 MB / 1.014 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.0007009/0.3484, allocations: 0.5074 MB / 1.313 GB, free: 11.82 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.382e-05/0.3484, allocations: 12.92 kB / 1.313 GB, free: 11.81 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.822e-05/0.3484, allocations: 20.8 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.3487, allocations: 259.8 kB / 1.313 GB, free: 11.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3487, allocations: 12.31 kB / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.3487, allocations: 384 / 1.313 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3489, allocations: 81.97 kB / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3489, allocations: 0 / 1.314 GB, free: 11.4 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.3489, allocations: 4 kB / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3489, allocations: 0 / 1.314 GB, free: 11.39 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00021/0.3492, allocations: 91.86 kB / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/0.3497, allocations: 396.7 kB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3499, allocations: 94.47 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.35, allocations: 44.89 kB / 1.314 GB, free: 10.72 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.35, allocations: 19.98 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.3501, allocations: 38.48 kB / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.011e-06/0.3501, allocations: 0 / 1.314 GB, free: 10.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004379/0.3505, allocations: 177.6 kB / 1.314 GB, free: 10.47 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.3506, allocations: 59.33 kB / 1.314 GB, free: 10.4 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000353/0.3509, allocations: 355.2 kB / 1.315 GB, free: 10.05 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3509, allocations: 25.7 kB / 1.315 GB, free: 10.02 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.351, allocations: 136.1 kB / 1.315 GB, free: 9.883 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.351, allocations: 3.953 kB / 1.315 GB, free: 9.879 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.3511, allocations: 29.7 kB / 1.315 GB, free: 9.844 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3512, allocations: 338.8 kB / 1.315 GB, free: 9.504 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001557/0.3514, allocations: 95.97 kB / 1.315 GB, free: 9.41 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3515, allocations: 95.95 kB / 1.315 GB, free: 9.316 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002975/0.3518, allocations: 210.9 kB / 1.316 GB, free: 9.109 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3518, allocations: 0 / 1.316 GB, free: 9.109 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003919/0.3522, allocations: 249.4 kB / 1.316 GB, free: 8.859 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3522, allocations: 17.19 kB / 1.316 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.3522, allocations: 0 / 1.316 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.3523, allocations: 0 / 1.316 GB, free: 8.844 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.3523, allocations: 7.984 kB / 1.316 GB, free: 8.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.3524, allocations: 3.984 kB / 1.316 GB, free: 8.832 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.744e-05/0.3524, allocations: 19.88 kB / 1.316 GB, free: 8.812 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.3524, allocations: 0 / 1.316 GB, free: 8.812 MB / 1.014 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.0001186/0.3525, allocations: 145.8 kB / 1.316 GB, free: 8.66 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.292e-05/0.3526, allocations: 23.86 kB / 1.316 GB, free: 8.637 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002933/0.3529, allocations: 142.6 kB / 1.316 GB, free: 8.488 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3529, allocations: 4 kB / 1.316 GB, free: 8.484 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3529, allocations: 0 / 1.316 GB, free: 8.484 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.3529, allocations: 0 / 1.316 GB, free: 8.484 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002544/0.3531, allocations: 245.5 kB / 1.316 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3531, allocations: 0 / 1.316 GB, free: 8.195 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.92e-05/0.3532, allocations: 15.92 kB / 1.316 GB, free: 8.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3532, allocations: 7.969 kB / 1.317 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.3532, allocations: 0 / 1.317 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3532, allocations: 0 / 1.317 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3532, allocations: 0 / 1.317 GB, free: 8.172 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.3535, allocations: 235.3 kB / 1.317 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.365e-05/0.3536, allocations: 105 kB / 1.317 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.3536, allocations: 4.031 kB / 1.317 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-05/0.3537, allocations: 4 kB / 1.317 GB, free: 7.797 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.3538, allocations: 7.984 kB / 1.317 GB, free: 7.789 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3538, allocations: 0 / 1.317 GB, free: 7.789 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002547/0.354, allocations: 249.9 kB / 1.317 GB, free: 7.543 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.354, allocations: 3.938 kB / 1.317 GB, free: 7.539 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003516/0.3544, allocations: 75.84 kB / 1.317 GB, free: 7.465 MB / 1.014 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.0002912/0.3547, allocations: 155 kB / 1.317 GB, free: 7.305 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003216/0.355, allocations: 143.9 kB / 1.317 GB, free: 7.164 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.355, allocations: 0 / 1.317 GB, free: 7.164 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.3551, allocations: 47.95 kB / 1.317 GB, free: 7.117 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.3554, allocations: 16.59 kB / 1.318 GB, free: 7.098 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.356, allocations: 391.6 kB / 1.318 GB, free: 6.691 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.3563, allocations: 0.7424 MB / 1.319 GB, free: 5.926 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.817e-05/0.3564, allocations: 20.48 kB / 1.319 GB, free: 5.906 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.3564, allocations: 15.44 kB / 1.319 GB, free: 5.891 MB / 1.014 GB Notification: Performance of SimCode: time 2.91e-07/0.3564, allocations: 0 / 1.319 GB, free: 5.891 MB / 1.014 GB Notification: Performance of Templates: time 0.005376/0.3618, allocations: 2.121 MB / 1.321 GB, free: 3.773 MB / 1.014 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.615573238115758]