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.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.001418/0.001418, allocations: 114.5 kB / 18.94 MB, free: 2.934 MB / 14.72 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.001536/0.001536, allocations: 217 kB / 22.25 MB, free: 5.082 MB / 14.72 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.503/1.503, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.307/3.307, allocations: 0.49 GB / 0.7951 GB, free: 33.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 75.56 kB / 1.154 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.3318, allocations: 176.1 MB / 1.326 GB, free: 1.918 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.004004/0.3358, allocations: 1.533 MB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3375, allocations: 0.7791 MB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.3376, allocations: 3.938 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.3378, allocations: 131.8 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.3379, allocations: 75.81 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008149/0.3388, allocations: 195.6 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.3389, allocations: 67.8 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.339, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/0.3391, allocations: 39.88 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3393, allocations: 83.89 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.3393, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005633/0.3398, allocations: 259.5 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.34, allocations: 59.83 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.709e-05/0.3401, allocations: 59.48 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.3406, allocations: 279 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.3406, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3406, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.3407, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 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.0007703/0.3414, allocations: 444.8 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3415, allocations: 12.03 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.448e-05/0.3415, allocations: 30.75 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.3416, allocations: 20.8 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.3419, allocations: 214.6 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3419, allocations: 4.375 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.27e-05/0.3419, allocations: 8.297 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3421, allocations: 77.8 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3421, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3421, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3421, allocations: 0 / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002115/0.3423, allocations: 87.92 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.343, allocations: 367.8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.3432, allocations: 94.52 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.3433, allocations: 48.83 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.194e-05/0.3433, allocations: 15.98 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3434, allocations: 34.56 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.433e-06/0.3434, allocations: 0 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004669/0.3439, allocations: 181.4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3439, allocations: 55.41 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003958/0.3443, allocations: 356.4 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.3443, allocations: 25.83 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.3444, allocations: 144.1 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3444, allocations: 3.953 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.3445, allocations: 29.7 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3447, allocations: 338.8 kB / 1.332 GB, free: 11.63 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.3448, allocations: 95.94 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.345, allocations: 98.19 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.3453, allocations: 212.8 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3453, allocations: 0 / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000407/0.3457, allocations: 257.3 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3457, allocations: 4 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3457, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3457, allocations: 0 / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.3458, allocations: 11.98 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3458, allocations: 7.984 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.044e-05/0.3459, allocations: 15.84 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-06/0.3459, allocations: 0 / 1.333 GB, free: 10.93 MB / 1.029 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.0001421/0.3461, allocations: 154.3 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.3461, allocations: 19.86 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000311/0.3464, allocations: 142.6 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.3464, allocations: 4.031 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.933e-05/0.3464, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3464, allocations: 0 / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.3467, allocations: 216.6 kB / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3467, allocations: 0 / 1.333 GB, free: 10.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.777e-05/0.3468, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.3468, allocations: 4 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3468, allocations: 7.922 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3468, allocations: 0 / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3468, allocations: 3.938 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/0.3471, allocations: 239.4 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.3472, allocations: 27.84 kB / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3472, allocations: 0 / 1.333 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.549e-05/0.3473, allocations: 7.984 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.446e-05/0.3473, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3473, allocations: 0 / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002678/0.3476, allocations: 263 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3476, allocations: 0 / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003596/0.3479, allocations: 67.88 kB / 1.334 GB, free: 9.723 MB / 1.029 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.0008993/0.3488, allocations: 0.8236 MB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003261/0.3492, allocations: 139.9 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3492, allocations: 4 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.3493, allocations: 43.91 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.3497, allocations: 12.66 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.3531, allocations: 2.724 MB / 1.337 GB, free: 5.875 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.3536, allocations: 0.7431 MB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.144e-05/0.3536, allocations: 20.48 kB / 1.338 GB, free: 5.086 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.744e-05/0.3537, allocations: 51.42 kB / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of SimCode: time 6.61e-07/0.3537, allocations: 0 / 1.338 GB, free: 5.035 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03364/0.3874, allocations: 4.397 MB / 1.342 GB, free: 0.7969 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.21, allocations: 9.625 kB / 1.342 GB, free: 0.7891 MB / 1.029 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 19.136164335068315]