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.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.001747/0.001747, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001892/0.001892, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.49/1.49, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.182/3.182, allocations: 496 MB / 0.7835 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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_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: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 70.97 kB / 1.138 GB, free: 33.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3417, allocations: 173.6 MB / 1.307 GB, free: 1.758 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002601/0.3443, allocations: 1.521 MB / 1.309 GB, free: 232 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.3456, allocations: 0.7673 MB / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.26e-05/0.3457, allocations: 0 / 1.31 GB, free: 15.45 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002298/0.3459, allocations: 127.8 kB / 1.31 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.925e-05/0.346, allocations: 67.83 kB / 1.31 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.3466, allocations: 194.5 kB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3467, allocations: 59.88 kB / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 2.945e-05/0.3467, allocations: 0 / 1.31 GB, free: 15.02 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.3468, allocations: 43.88 kB / 1.31 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001175/0.3469, allocations: 91.83 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.3469, allocations: 3.938 kB / 1.31 GB, free: 14.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004219/0.3473, allocations: 263.6 kB / 1.31 GB, free: 14.62 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.3474, allocations: 63.81 kB / 1.31 GB, free: 14.56 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 6.083e-05/0.3475, allocations: 55.48 kB / 1.31 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003525/0.3478, allocations: 271 kB / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.3478, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3478, allocations: 0 / 1.311 GB, free: 14.24 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.3478, allocations: 0 / 1.311 GB, free: 14.24 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.000628/0.3485, allocations: 444.8 kB / 1.311 GB, free: 13.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.3485, allocations: 12.86 kB / 1.311 GB, free: 13.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3485, allocations: 24.8 kB / 1.311 GB, free: 13.74 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.3488, allocations: 214.6 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.3488, allocations: 384 / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.3488, allocations: 4.375 kB / 1.311 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.349, allocations: 77.97 kB / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.349, allocations: 0 / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.349, allocations: 0 / 1.311 GB, free: 13.42 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.349, allocations: 4 kB / 1.311 GB, free: 13.41 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.3492, allocations: 83.94 kB / 1.312 GB, free: 13.33 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005228/0.3498, allocations: 367.8 kB / 1.312 GB, free: 12.93 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.3499, allocations: 86.53 kB / 1.312 GB, free: 12.84 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.35, allocations: 48.89 kB / 1.312 GB, free: 12.79 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.639e-05/0.3501, allocations: 27.72 kB / 1.312 GB, free: 12.76 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.3501, allocations: 34.56 kB / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.3501, allocations: 0 / 1.312 GB, free: 12.71 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0004273/0.3505, allocations: 181.3 kB / 1.312 GB, free: 12.53 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.3506, allocations: 55.41 kB / 1.312 GB, free: 12.46 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.3509, allocations: 364.5 kB / 1.313 GB, free: 12.1 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.351, allocations: 25.7 kB / 1.313 GB, free: 12.07 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 9.522e-05/0.3511, allocations: 136.1 kB / 1.313 GB, free: 11.93 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.3511, allocations: 7.953 kB / 1.313 GB, free: 11.92 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.3511, allocations: 29.69 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.3513, allocations: 334.8 kB / 1.313 GB, free: 11.55 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.3514, allocations: 91.95 kB / 1.313 GB, free: 11.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.3516, allocations: 99.94 kB / 1.313 GB, free: 11.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.3519, allocations: 209.5 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3519, allocations: 0 / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003828/0.3523, allocations: 262.7 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.3523, allocations: 4 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3523, allocations: 0 / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.3523, allocations: 4 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.3524, allocations: 11.98 kB / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.3524, allocations: 0 / 1.314 GB, free: 10.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.989e-05/0.3524, allocations: 15.89 kB / 1.314 GB, free: 10.86 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.3524, allocations: 7.984 kB / 1.314 GB, free: 10.85 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.0001132/0.3526, allocations: 150.4 kB / 1.314 GB, free: 10.7 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3526, allocations: 19.86 kB / 1.314 GB, free: 10.68 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002952/0.3529, allocations: 150.6 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3529, allocations: 0 / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.3529, allocations: 4 kB / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3529, allocations: 0 / 1.314 GB, free: 10.52 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.3531, allocations: 212.6 kB / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3531, allocations: 0 / 1.314 GB, free: 10.27 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.93e-05/0.3532, allocations: 11.98 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3532, allocations: 0 / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.3532, allocations: 0 / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3532, allocations: 0 / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3532, allocations: 4.031 kB / 1.314 GB, free: 10.25 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3535, allocations: 231.3 kB / 1.315 GB, free: 10.01 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.637e-05/0.3536, allocations: 23.86 kB / 1.315 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3536, allocations: 0 / 1.315 GB, free: 9.984 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3537, allocations: 11.98 kB / 1.315 GB, free: 9.973 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.3537, allocations: 8.031 kB / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3537, allocations: 0 / 1.315 GB, free: 9.965 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0002502/0.3539, allocations: 259 kB / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.3539, allocations: 0 / 1.315 GB, free: 9.715 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003123/0.3543, allocations: 63.88 kB / 1.315 GB, free: 9.652 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.0002751/0.3545, allocations: 155 kB / 1.315 GB, free: 9.492 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003032/0.3548, allocations: 143.9 kB / 1.315 GB, free: 9.352 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3548, allocations: 8 kB / 1.315 GB, free: 9.344 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3549, allocations: 39.97 kB / 1.315 GB, free: 9.305 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.3552, allocations: 16.59 kB / 1.315 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.3558, allocations: 387.7 kB / 1.316 GB, free: 8.879 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.3562, allocations: 0.7353 MB / 1.316 GB, free: 8.117 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.64e-05/0.3562, allocations: 12.5 kB / 1.316 GB, free: 8.105 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.3563, allocations: 19.42 kB / 1.316 GB, free: 8.086 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/0.3563, allocations: 3.938 kB / 1.316 GB, free: 8.082 MB / 1.014 GB Notification: Performance of Templates: time 0.005655/0.3619, allocations: 2.125 MB / 1.318 GB, free: 5.961 MB / 1.014 GB " [Timeout remaining time 300] 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/jenkins/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: 8.909147577360272]