Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.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.001175/0.001175, allocations: 108.3 kB / 17.54 MB, free: 4.781 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.001148/0.001148, allocations: 190.6 kB / 20.71 MB, free: 1.625 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.283/1.283, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.472/2.472, allocations: 476.7 MB / 0.7628 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00183/0.00183, allocations: 68.12 kB / 1.107 GB, free: 5.145 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8105/0.8123, allocations: 168.7 MB / 1.271 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002149/0.8145, allocations: 1.499 MB / 1.273 GB, free: 6.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.8155, allocations: 0.788 MB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.78e-05/0.8155, allocations: 5 kB / 1.274 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000241/0.8158, allocations: 133.2 kB / 1.274 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.8163, allocations: 184.8 kB / 1.274 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001374/0.8164, allocations: 76.86 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.8165, allocations: 67.78 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.093e-05/0.8166, allocations: 3.453 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.123e-05/0.8166, allocations: 38.17 kB / 1.274 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.8167, allocations: 94.67 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.264e-05/0.8167, allocations: 3.188 kB / 1.274 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003505/0.8171, allocations: 235 kB / 1.274 GB, free: 5.965 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.8172, allocations: 106.8 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.8173, allocations: 101.2 kB / 1.275 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.8176, allocations: 349.1 kB / 1.275 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8176, allocations: 7.484 kB / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.8176, allocations: 0 / 1.275 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.8176, allocations: 0 / 1.275 GB, free: 5.746 MB / 0.9981 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.0006261/0.8183, allocations: 0.6144 MB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.8183, allocations: 9.5 kB / 1.276 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.777e-05/0.8183, allocations: 31.41 kB / 1.276 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.212e-05/0.8184, allocations: 39.66 kB / 1.276 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007581/0.8191, allocations: 0.9206 MB / 1.277 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.8192, allocations: 384 / 1.277 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-06/0.8192, allocations: 6.156 kB / 1.277 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.8193, allocations: 83.97 kB / 1.277 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.8193, allocations: 1.062 kB / 1.277 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.8193, allocations: 4 kB / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.8194, allocations: 0.9062 kB / 1.277 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.8196, allocations: 114.1 kB / 1.277 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000573/0.8201, allocations: 0.5743 MB / 1.277 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.8203, allocations: 102.8 kB / 1.277 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.8204, allocations: 54.91 kB / 1.277 GB, free: 4.289 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.8205, allocations: 22.16 kB / 1.277 GB, free: 4.285 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.8205, allocations: 36.12 kB / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.8205, allocations: 0 / 1.277 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0004379/0.8209, allocations: 215.2 kB / 1.278 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/0.8209, allocations: 55.11 kB / 1.278 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.8221, allocations: 1.21 MB / 1.279 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.264e-06/0.8221, allocations: 29.83 kB / 1.279 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.8222, allocations: 177.7 kB / 1.279 GB, free: 3.57 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.8222, allocations: 3.953 kB / 1.279 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.8222, allocations: 13.25 kB / 1.279 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.8223, allocations: 353 kB / 1.279 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.8224, allocations: 51.69 kB / 1.28 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.8225, allocations: 51.91 kB / 1.28 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000189/0.8227, allocations: 114.3 kB / 1.28 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.8227, allocations: 0 / 1.28 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002447/0.8229, allocations: 163.5 kB / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.8229, allocations: 6.703 kB / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.8229, allocations: 0 / 1.28 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.8229, allocations: 4.031 kB / 1.28 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.823, allocations: 14.47 kB / 1.28 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.823, allocations: 4.688 kB / 1.28 GB, free: 3.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.439e-05/0.8231, allocations: 9.625 kB / 1.28 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.8231, allocations: 1.875 kB / 1.28 GB, free: 3.094 MB / 0.9981 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 9.406e-05/0.8232, allocations: 166.1 kB / 1.28 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.8233, allocations: 27.97 kB / 1.28 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002741/0.8235, allocations: 180.7 kB / 1.28 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.8235, allocations: 1.344 kB / 1.28 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.8235, allocations: 0 / 1.28 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8235, allocations: 0.6562 kB / 1.28 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/0.8238, allocations: 299.6 kB / 1.281 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.8238, allocations: 1.688 kB / 1.281 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.356e-05/0.8238, allocations: 9.516 kB / 1.281 GB, free: 2.66 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.8238, allocations: 4.734 kB / 1.281 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.8238, allocations: 3.938 kB / 1.281 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8238, allocations: 4.031 kB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8238, allocations: 1.594 kB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.8241, allocations: 261.2 kB / 1.281 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.8242, allocations: 130.1 kB / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.8242, allocations: 0 / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.839e-05/0.8243, allocations: 7.562 kB / 1.281 GB, free: 2.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.977e-05/0.8243, allocations: 6.016 kB / 1.281 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.8243, allocations: 2.125 kB / 1.281 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007311/0.825, allocations: 0.9537 MB / 1.282 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.825, allocations: 0 / 1.282 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003652/0.8254, allocations: 71.5 kB / 1.282 GB, free: 2.055 MB / 0.9981 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.000559/0.826, allocations: 0.8527 MB / 1.283 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002379/0.8262, allocations: 109 kB / 1.283 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8262, allocations: 0 / 1.283 GB, free: 1.32 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.8263, allocations: 53.27 kB / 1.283 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.8266, allocations: 26.98 kB / 1.283 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006024/0.8326, allocations: 6.762 MB / 1.29 GB, free: 14.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.833, allocations: 0.778 MB / 1.29 GB, free: 14.05 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 7.272e-05/0.8331, allocations: 41.64 kB / 1.29 GB, free: 14.04 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8332, allocations: 97.88 kB / 1.29 GB, free: 13.97 MB / 1.014 GB Notification: Performance of SimCode: time 4.71e-07/0.8332, allocations: 0 / 1.29 GB, free: 13.97 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02929/0.8625, allocations: 7.152 MB / 1.297 GB, free: 13.23 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.327/8.189, allocations: 7.125 kB / 1.297 GB, free: 13.23 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 13.42878563299928]