Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.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.001775/0.001775, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.002225/0.002225, allocations: 215 kB / 20.13 MB, free: 2.949 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.632/1.632, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.084/3.084, allocations: 0.49 GB / 0.7923 GB, free: 1.348 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.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_Interpolate",fmuType="cs",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.001994/0.001994, allocations: 67.89 kB / 1.15 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9915/0.9935, allocations: 176.1 MB / 1.321 GB, free: 24.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002204/0.9957, allocations: 1.487 MB / 1.323 GB, free: 23.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001075/0.9967, allocations: 0.8234 MB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.123e-05/0.9968, allocations: 0 / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001936/0.997, allocations: 131.2 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0004939/0.9975, allocations: 185.5 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.9976, allocations: 79.42 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 8.37e-05/0.9977, allocations: 71.08 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.9978, allocations: 2.75 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.9978, allocations: 49.41 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.9979, allocations: 87.09 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.9979, allocations: 2.75 kB / 1.324 GB, free: 23.04 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.9982, allocations: 234.2 kB / 1.325 GB, free: 22.97 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.202e-05/0.9983, allocations: 113 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.9983, allocations: 95.8 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.9986, allocations: 347.8 kB / 1.325 GB, free: 22.76 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9986, allocations: 7.938 kB / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of FrontEnd: time 7.91e-07/0.9986, allocations: 0 / 1.325 GB, free: 22.75 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.9986, allocations: 0 / 1.325 GB, free: 22.75 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.0005636/0.9992, allocations: 0.6181 MB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.366e-05/0.9992, allocations: 17.67 kB / 1.326 GB, free: 22.21 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.057e-06/0.9992, allocations: 8.188 kB / 1.326 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.257e-05/0.9992, allocations: 30.75 kB / 1.326 GB, free: 22.16 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.9992, allocations: 37.52 kB / 1.326 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007654/1, allocations: 0.9169 MB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/1, allocations: 0.875 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.223e-06/1, allocations: 1.656 kB / 1.327 GB, free: 21.73 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/1, allocations: 88.16 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/1, allocations: 0 / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.381e-06/1, allocations: 4.625 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-06/1, allocations: 4.531 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002301/1, allocations: 97.58 kB / 1.327 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/1.001, allocations: 0.5767 MB / 1.327 GB, free: 21.35 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/1.001, allocations: 101.1 kB / 1.328 GB, free: 21.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/1.001, allocations: 65.14 kB / 1.328 GB, free: 21.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/1.001, allocations: 25.47 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.358e-06/1.001, allocations: 32.22 kB / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/1.001, allocations: 0 / 1.328 GB, free: 21.24 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0004879/1.002, allocations: 211.1 kB / 1.328 GB, free: 21.17 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.94e-05/1.002, allocations: 56.12 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/1.003, allocations: 1.211 MB / 1.329 GB, free: 20.75 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/1.003, allocations: 26.3 kB / 1.329 GB, free: 20.72 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.315e-05/1.003, allocations: 178.4 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.084e-05/1.003, allocations: 3.953 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.933e-05/1.003, allocations: 16.36 kB / 1.329 GB, free: 20.55 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.789e-05/1.003, allocations: 352.6 kB / 1.33 GB, free: 20.22 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/1.003, allocations: 51.69 kB / 1.33 GB, free: 20.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/1.003, allocations: 52.47 kB / 1.33 GB, free: 20.2 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.004, allocations: 106.9 kB / 1.33 GB, free: 20.18 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/1.004, allocations: 0 / 1.33 GB, free: 20.18 MB / 1.061 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002987/1.004, allocations: 165.6 kB / 1.33 GB, free: 20.11 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.004, allocations: 15.22 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/1.004, allocations: 0 / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.004, allocations: 1.891 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.47e-05/1.004, allocations: 8.234 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/1.004, allocations: 0.7031 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.969e-05/1.004, allocations: 11.22 kB / 1.33 GB, free: 20.1 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/1.004, allocations: 6.125 kB / 1.33 GB, free: 20.09 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 (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 prepare postOptimizeDAE: time 0.0001148/1.004, allocations: 169.8 kB / 1.33 GB, free: 19.97 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.287e-05/1.004, allocations: 37.27 kB / 1.33 GB, free: 19.95 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003262/1.005, allocations: 172.6 kB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.005, allocations: 1.062 kB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.005, allocations: 4.5 kB / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/1.005, allocations: 0 / 1.33 GB, free: 19.88 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/1.005, allocations: 297.2 kB / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/1.005, allocations: 0 / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.205e-05/1.005, allocations: 9.562 kB / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/1.005, allocations: 4.031 kB / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/1.005, allocations: 0.8438 kB / 1.331 GB, free: 19.65 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.005, allocations: 5.609 kB / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/1.005, allocations: 0 / 1.331 GB, free: 19.64 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003038/1.005, allocations: 264.9 kB / 1.331 GB, free: 19.47 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/1.005, allocations: 130 kB / 1.331 GB, free: 19.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/1.005, allocations: 5.359 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/1.005, allocations: 6.969 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.726e-05/1.006, allocations: 2.797 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/1.006, allocations: 1.5 kB / 1.331 GB, free: 19.35 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001162/1.007, allocations: 0.954 MB / 1.332 GB, free: 19.05 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.007, allocations: 0 / 1.332 GB, free: 19.05 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004498/1.007, allocations: 68.94 kB / 1.332 GB, free: 19.05 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.0006829/1.008, allocations: 0.8504 MB / 1.333 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002629/1.008, allocations: 104.8 kB / 1.333 GB, free: 18.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.008, allocations: 4.594 kB / 1.333 GB, free: 18.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/1.008, allocations: 57.62 kB / 1.333 GB, free: 18.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/1.009, allocations: 21.28 kB / 1.333 GB, free: 18.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/1.015, allocations: 6.773 MB / 1.34 GB, free: 15.75 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/1.015, allocations: 0.779 MB / 1.34 GB, free: 15.05 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.097e-05/1.015, allocations: 45.83 kB / 1.341 GB, free: 15.04 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/1.016, allocations: 93.39 kB / 1.341 GB, free: 14.96 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/1.016, allocations: 0 / 1.341 GB, free: 14.96 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/1.042, allocations: 7.203 MB / 1.348 GB, free: 14.2 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.848/9.89, allocations: 5.016 kB / 1.348 GB, free: 14.2 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --stepSize=0.2 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.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.813410503964406]