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.001658/0.001658, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001806/0.001806, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.462/1.462, allocations: 225.6 MB / 249.4 MB, free: 3.293 MB / 190.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 2.965/2.965, allocations: 496.2 MB / 0.7819 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] 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.00201/0.00201, allocations: 67.89 kB / 1.136 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8453, allocations: 173.6 MB / 1.305 GB, free: 33.41 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002183/0.8474, allocations: 1.514 MB / 1.307 GB, free: 32.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.8488, allocations: 0.7455 MB / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.721e-05/0.8488, allocations: 0 / 1.308 GB, free: 31.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002884/0.8491, allocations: 137.7 kB / 1.308 GB, free: 31.85 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.8492, allocations: 61.44 kB / 1.308 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007955/0.85, allocations: 186.4 kB / 1.308 GB, free: 31.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.8502, allocations: 63.73 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.272e-05/0.8502, allocations: 6.438 kB / 1.308 GB, free: 31.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.535e-05/0.8503, allocations: 39.38 kB / 1.308 GB, free: 31.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.8504, allocations: 90.41 kB / 1.308 GB, free: 31.74 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.8504, allocations: 3.984 kB / 1.308 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.8508, allocations: 239 kB / 1.308 GB, free: 31.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.8509, allocations: 60.53 kB / 1.309 GB, free: 31.65 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.288e-05/0.851, allocations: 57.44 kB / 1.309 GB, free: 31.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.8513, allocations: 279.1 kB / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.8513, allocations: 0 / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.483e-06/0.8513, allocations: 0 / 1.309 GB, free: 31.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.8513, allocations: 0 / 1.309 GB, free: 31.52 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.0005627/0.8519, allocations: 0.5093 MB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.8519, allocations: 10.78 kB / 1.309 GB, free: 31.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.8519, allocations: 29.41 kB / 1.309 GB, free: 31.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.8521, allocations: 255.5 kB / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.8521, allocations: 384 / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.8521, allocations: 3.281 kB / 1.31 GB, free: 30.8 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.8523, allocations: 83.06 kB / 1.31 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.8523, allocations: 0 / 1.31 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-06/0.8523, allocations: 2.906 kB / 1.31 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.8523, allocations: 0 / 1.31 GB, free: 30.76 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001824/0.8525, allocations: 87.41 kB / 1.31 GB, free: 30.75 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.8529, allocations: 401.5 kB / 1.31 GB, free: 30.45 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.8531, allocations: 90.17 kB / 1.31 GB, free: 30.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.8531, allocations: 47.66 kB / 1.31 GB, free: 30.41 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.177e-05/0.8532, allocations: 30.91 kB / 1.31 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.588e-05/0.8532, allocations: 30.56 kB / 1.31 GB, free: 30.36 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.8532, allocations: 0 / 1.31 GB, free: 30.36 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003703/0.8536, allocations: 178.8 kB / 1.311 GB, free: 30.31 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.8536, allocations: 55.34 kB / 1.311 GB, free: 30.24 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.8538, allocations: 354.9 kB / 1.311 GB, free: 30.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.622e-06/0.8538, allocations: 25.7 kB / 1.311 GB, free: 30.04 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.51e-05/0.8539, allocations: 140.6 kB / 1.311 GB, free: 29.92 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.8539, allocations: 7.094 kB / 1.311 GB, free: 29.92 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.8539, allocations: 25.53 kB / 1.311 GB, free: 29.9 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.451e-05/0.854, allocations: 334.2 kB / 1.311 GB, free: 29.58 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.8541, allocations: 96.84 kB / 1.312 GB, free: 29.56 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.8542, allocations: 101.6 kB / 1.312 GB, free: 29.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000225/0.8545, allocations: 210.2 kB / 1.312 GB, free: 29.51 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8545, allocations: 0 / 1.312 GB, free: 29.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003032/0.8548, allocations: 256.7 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8548, allocations: 3.094 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8548, allocations: 3.984 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.8548, allocations: 2.781 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.013e-05/0.8549, allocations: 13.09 kB / 1.312 GB, free: 29.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.8549, allocations: 3.938 kB / 1.312 GB, free: 29.42 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.08e-05/0.8549, allocations: 17.09 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.8549, allocations: 0 / 1.312 GB, free: 29.41 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 7.011e-05/0.855, allocations: 144.8 kB / 1.312 GB, free: 29.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.284e-05/0.855, allocations: 20.61 kB / 1.312 GB, free: 29.29 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.8553, allocations: 143.5 kB / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.8553, allocations: 0 / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.8553, allocations: 10.41 kB / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.8553, allocations: 0 / 1.312 GB, free: 29.23 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.8554, allocations: 240 kB / 1.313 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.8555, allocations: 7.266 kB / 1.313 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.278e-05/0.8555, allocations: 5.438 kB / 1.313 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.8555, allocations: 0 / 1.313 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.353e-06/0.8555, allocations: 3.422 kB / 1.313 GB, free: 29.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.8555, allocations: 6.719 kB / 1.313 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.8555, allocations: 4.031 kB / 1.313 GB, free: 29.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.8557, allocations: 228.7 kB / 1.313 GB, free: 28.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.723e-05/0.8558, allocations: 110.3 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.8558, allocations: 0 / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.8559, allocations: 8.359 kB / 1.313 GB, free: 28.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.8559, allocations: 4.031 kB / 1.313 GB, free: 28.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.8559, allocations: 2.75 kB / 1.313 GB, free: 28.74 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001689/0.8561, allocations: 250.3 kB / 1.313 GB, free: 28.63 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.8561, allocations: 0 / 1.313 GB, free: 28.63 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003187/0.8564, allocations: 70.97 kB / 1.313 GB, free: 28.62 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.0002424/0.8567, allocations: 156.4 kB / 1.313 GB, free: 28.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.8569, allocations: 150.6 kB / 1.314 GB, free: 28.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.8569, allocations: 0 / 1.314 GB, free: 28.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.341e-05/0.857, allocations: 45.09 kB / 1.314 GB, free: 28.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.8573, allocations: 16.94 kB / 1.314 GB, free: 28.48 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.8578, allocations: 393.8 kB / 1.314 GB, free: 28.28 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.8579, allocations: 0.7448 MB / 1.315 GB, free: 27.57 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.775e-05/0.858, allocations: 16.73 kB / 1.315 GB, free: 27.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.858, allocations: 12.69 kB / 1.315 GB, free: 27.57 MB / 1.061 GB Notification: Performance of SimCode: time 7.61e-07/0.858, allocations: 0 / 1.315 GB, free: 27.57 MB / 1.061 GB Notification: Performance of Templates: time 0.004654/0.8626, allocations: 2.126 MB / 1.317 GB, free: 27.39 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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: 9.04313898831606]