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.001703/0.001703, allocations: 107.8 kB / 16.45 MB, free: 6.445 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.002011/0.002011, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.607/1.607, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.946/2.946, allocations: 497.2 MB / 0.7812 GB, free: 12.1 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.91 kB / 1.134 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9827/0.9848, allocations: 173.9 MB / 1.304 GB, free: 32.16 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.00244/0.9873, allocations: 1.505 MB / 1.305 GB, free: 31.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.9885, allocations: 0.7412 MB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.9886, allocations: 4 kB / 1.306 GB, free: 30.62 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0002419/0.9888, allocations: 136.7 kB / 1.306 GB, free: 30.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.624e-05/0.9889, allocations: 69.53 kB / 1.306 GB, free: 30.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.9895, allocations: 183.4 kB / 1.307 GB, free: 30.53 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.9896, allocations: 62.33 kB / 1.307 GB, free: 30.52 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.205e-05/0.9896, allocations: 6.562 kB / 1.307 GB, free: 30.51 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.844e-05/0.9897, allocations: 42.06 kB / 1.307 GB, free: 30.5 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.9898, allocations: 87.08 kB / 1.307 GB, free: 30.49 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.242e-05/0.9898, allocations: 2.844 kB / 1.307 GB, free: 30.49 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003275/0.9901, allocations: 231.5 kB / 1.307 GB, free: 30.43 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.59e-05/0.9902, allocations: 61.25 kB / 1.307 GB, free: 30.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.9903, allocations: 62.14 kB / 1.307 GB, free: 30.37 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003143/0.9906, allocations: 278.4 kB / 1.307 GB, free: 30.28 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.9906, allocations: 0 / 1.307 GB, free: 30.28 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9906, allocations: 0 / 1.307 GB, free: 30.28 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.9906, allocations: 0 / 1.307 GB, free: 30.28 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.0006336/0.9912, allocations: 0.5097 MB / 1.308 GB, free: 29.81 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.9913, allocations: 8.688 kB / 1.308 GB, free: 29.81 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.903e-05/0.9913, allocations: 30.75 kB / 1.308 GB, free: 29.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.9913, allocations: 21.05 kB / 1.308 GB, free: 29.76 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.9916, allocations: 264.7 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.9916, allocations: 384 / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.483e-05/0.9916, allocations: 3.219 kB / 1.308 GB, free: 29.52 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.9918, allocations: 89.88 kB / 1.308 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.9918, allocations: 0 / 1.308 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.794e-06/0.9918, allocations: 0 / 1.308 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9918, allocations: 0 / 1.308 GB, free: 29.47 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.992, allocations: 86.62 kB / 1.308 GB, free: 29.46 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.9925, allocations: 406.1 kB / 1.309 GB, free: 29.16 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001508/0.9926, allocations: 94.97 kB / 1.309 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.002e-05/0.9927, allocations: 43.31 kB / 1.309 GB, free: 29.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.782e-05/0.9927, allocations: 19.16 kB / 1.309 GB, free: 29.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.9928, allocations: 37.89 kB / 1.309 GB, free: 29.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.9928, allocations: 2.938 kB / 1.309 GB, free: 29.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0003698/0.9931, allocations: 172.4 kB / 1.309 GB, free: 29.02 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.9932, allocations: 55.34 kB / 1.309 GB, free: 28.96 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002595/0.9934, allocations: 349.7 kB / 1.309 GB, free: 28.8 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.9934, allocations: 33.7 kB / 1.31 GB, free: 28.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.9935, allocations: 133.6 kB / 1.31 GB, free: 28.65 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.284e-05/0.9935, allocations: 10.8 kB / 1.31 GB, free: 28.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.535e-05/0.9935, allocations: 25.11 kB / 1.31 GB, free: 28.62 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.481e-05/0.9936, allocations: 345.9 kB / 1.31 GB, free: 28.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.9938, allocations: 97.89 kB / 1.31 GB, free: 28.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.9939, allocations: 94.17 kB / 1.31 GB, free: 28.26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.9941, allocations: 210.6 kB / 1.31 GB, free: 28.22 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.9941, allocations: 0 / 1.31 GB, free: 28.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003088/0.9944, allocations: 249.7 kB / 1.311 GB, free: 28.15 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.9944, allocations: 5.906 kB / 1.311 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.9945, allocations: 4 kB / 1.311 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.9945, allocations: 3.469 kB / 1.311 GB, free: 28.15 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.744e-05/0.9946, allocations: 9.781 kB / 1.311 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.9946, allocations: 3.938 kB / 1.311 GB, free: 28.14 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.23e-05/0.9946, allocations: 16.73 kB / 1.311 GB, free: 28.13 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.9946, allocations: 2.75 kB / 1.311 GB, free: 28.13 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 8.981e-05/0.9947, allocations: 154.2 kB / 1.311 GB, free: 28 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.9948, allocations: 20.3 kB / 1.311 GB, free: 27.99 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.995, allocations: 143.4 kB / 1.311 GB, free: 27.95 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.995, allocations: 0 / 1.311 GB, free: 27.95 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.995, allocations: 0 / 1.311 GB, free: 27.95 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.995, allocations: 9.969 kB / 1.311 GB, free: 27.94 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001882/0.9952, allocations: 244.7 kB / 1.311 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.9952, allocations: 2.531 kB / 1.311 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.175e-05/0.9953, allocations: 8.734 kB / 1.311 GB, free: 27.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9953, allocations: 3.984 kB / 1.311 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.9953, allocations: 0 / 1.311 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9953, allocations: 0 / 1.311 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9953, allocations: 6.469 kB / 1.311 GB, free: 27.72 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.9955, allocations: 242.9 kB / 1.311 GB, free: 27.56 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.9956, allocations: 100.6 kB / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.9956, allocations: 0 / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.905e-05/0.9957, allocations: 6.266 kB / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.9957, allocations: 5.953 kB / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.9957, allocations: 4.031 kB / 1.312 GB, free: 27.45 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002057/0.996, allocations: 249.3 kB / 1.312 GB, free: 27.34 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.996, allocations: 0 / 1.312 GB, free: 27.34 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003858/0.9963, allocations: 64.81 kB / 1.312 GB, free: 27.33 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.0006994/0.997, allocations: 0.8277 MB / 1.313 GB, free: 26.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.9974, allocations: 146 kB / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.9974, allocations: 0 / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 9.351e-05/0.9974, allocations: 41.58 kB / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003925/0.9978, allocations: 14.47 kB / 1.313 GB, free: 26.61 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/1, allocations: 2.729 MB / 1.316 GB, free: 25.08 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001776/1.001, allocations: 0.7447 MB / 1.316 GB, free: 24.38 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.891e-05/1.001, allocations: 14.53 kB / 1.316 GB, free: 24.38 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/1.001, allocations: 59.33 kB / 1.316 GB, free: 24.33 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.001, allocations: 2.625 kB / 1.316 GB, free: 24.33 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02785/1.028, allocations: 4.296 MB / 1.321 GB, free: 23.8 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.515/9.543, allocations: 9.375 kB / 1.321 GB, free: 23.8 MB / 1.061 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) [Timeout 840.0] 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: 16.16582644917071]