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.001388/0.001388, allocations: 111 kB / 16.46 MB, free: 6.453 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.001528/0.001528, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.536/1.536, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.199/3.199, allocations: 0.49 GB / 0.7916 GB, free: 33.37 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.002084/0.002084, allocations: 71.14 kB / 1.149 GB, free: 26.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3311, allocations: 176.1 MB / 1.321 GB, free: 3.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002879/0.334, allocations: 1.517 MB / 1.322 GB, free: 1.852 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3353, allocations: 0.7673 MB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.3354, allocations: 0 / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.3356, allocations: 139.7 kB / 1.323 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.3357, allocations: 75.81 kB / 1.323 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007047/0.3364, allocations: 183.5 kB / 1.323 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3366, allocations: 67.8 kB / 1.324 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.352e-05/0.3366, allocations: 7.938 kB / 1.324 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.3367, allocations: 39.88 kB / 1.324 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3368, allocations: 87.83 kB / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3369, allocations: 0 / 1.324 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.3373, allocations: 231.6 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/0.3374, allocations: 63.81 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.423e-05/0.3375, allocations: 63.47 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004602/0.3379, allocations: 271 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3379, allocations: 7.938 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.723e-06/0.3379, allocations: 0 / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3379, allocations: 0 / 1.324 GB, free: 15.87 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.0007515/0.3387, allocations: 0.5057 MB / 1.325 GB, free: 15.31 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.3387, allocations: 15.98 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.342e-05/0.3388, allocations: 34.75 kB / 1.325 GB, free: 15.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.037e-05/0.3388, allocations: 20.8 kB / 1.325 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3391, allocations: 263.8 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.3391, allocations: 4.375 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.3391, allocations: 4.375 kB / 1.325 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.3393, allocations: 85.77 kB / 1.325 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3394, allocations: 4 kB / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3394, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3394, allocations: 0 / 1.325 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.3396, allocations: 87.88 kB / 1.325 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.3402, allocations: 400.7 kB / 1.326 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3403, allocations: 90.47 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.3405, allocations: 48.89 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.853e-05/0.3405, allocations: 23.97 kB / 1.326 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/0.3405, allocations: 34.56 kB / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3405, allocations: 0 / 1.326 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004553/0.341, allocations: 169.5 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.341, allocations: 59.33 kB / 1.326 GB, free: 13.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000404/0.3414, allocations: 363.2 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.3415, allocations: 25.7 kB / 1.326 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.3416, allocations: 132.2 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.3416, allocations: 3.953 kB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.3416, allocations: 33.7 kB / 1.327 GB, free: 13.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3418, allocations: 338.8 kB / 1.327 GB, free: 12.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.342, allocations: 91.94 kB / 1.327 GB, free: 12.85 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.3421, allocations: 95.95 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003561/0.3425, allocations: 211.7 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3425, allocations: 0 / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004049/0.3429, allocations: 253.3 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.3429, allocations: 8 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.3429, allocations: 0 / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3429, allocations: 0 / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.343, allocations: 7.984 kB / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.343, allocations: 0 / 1.328 GB, free: 12.28 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.3431, allocations: 27.83 kB / 1.328 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3431, allocations: 4 kB / 1.328 GB, free: 12.25 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.000142/0.3433, allocations: 141.8 kB / 1.328 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.3433, allocations: 23.8 kB / 1.328 GB, free: 12.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000337/0.3436, allocations: 138.6 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3436, allocations: 4 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3436, allocations: 4.031 kB / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3436, allocations: 0 / 1.328 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.3439, allocations: 245.5 kB / 1.328 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3439, allocations: 3.938 kB / 1.328 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.405e-05/0.344, allocations: 11.98 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.344, allocations: 3.938 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.344, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.344, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.344, allocations: 0 / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003448/0.3443, allocations: 243.3 kB / 1.328 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.671e-05/0.3444, allocations: 105 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.3445, allocations: 0 / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.692e-05/0.3445, allocations: 4 kB / 1.328 GB, free: 11.24 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.3446, allocations: 7.984 kB / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.3446, allocations: 0 / 1.328 GB, free: 11.23 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002662/0.3449, allocations: 253.9 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3449, allocations: 4.031 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004118/0.3453, allocations: 67.86 kB / 1.329 GB, free: 10.91 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.0009535/0.3462, allocations: 0.8175 MB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.3466, allocations: 147.9 kB / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3466, allocations: 0 / 1.33 GB, free: 9.922 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.3467, allocations: 51.89 kB / 1.33 GB, free: 9.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.347, allocations: 8.656 kB / 1.33 GB, free: 9.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003505/0.3505, allocations: 2.735 MB / 1.332 GB, free: 7.047 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.3509, allocations: 0.7353 MB / 1.333 GB, free: 6.285 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.672e-05/0.3509, allocations: 20.55 kB / 1.333 GB, free: 6.266 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.351, allocations: 51.42 kB / 1.333 GB, free: 6.215 MB / 1.029 GB Notification: Performance of SimCode: time 5.91e-07/0.351, allocations: 0 / 1.333 GB, free: 6.215 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03076/0.3818, allocations: 4.309 MB / 1.337 GB, free: 2.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.286/8.668, allocations: 0 / 1.337 GB, free: 2.031 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.34790089703165]