Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006604/0.006604, allocations: 102 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 195.9 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.703/2.703, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001475, allocations: 63.91 kB / 1.054 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8955/0.897, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002689/0.8998, allocations: 1.468 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.9011, allocations: 0.7713 MB / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.309e-05/0.9012, allocations: 0 / 1.209 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0002216/0.9015, allocations: 135.7 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0006209/0.9021, allocations: 179.6 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.9023, allocations: 71.8 kB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000129/0.9024, allocations: 71.86 kB / 1.21 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.577e-05/0.9025, allocations: 4 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.515e-05/0.9026, allocations: 39.88 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.9027, allocations: 87.78 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.453e-05/0.9028, allocations: 3.938 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.9032, allocations: 227.7 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.9033, allocations: 107.7 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.869e-05/0.9034, allocations: 91.2 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.9039, allocations: 349.2 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.9039, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.322e-06/0.9039, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.9039, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 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.000852/0.9048, allocations: 0.6107 MB / 1.211 GB, free: 9.344 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.9048, allocations: 8.031 kB / 1.211 GB, free: 9.336 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.9049, allocations: 38.62 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.598e-05/0.905, allocations: 36.47 kB / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008344/0.9058, allocations: 0.916 MB / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.9058, allocations: 4.375 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.9058, allocations: 8.359 kB / 1.212 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.906, allocations: 85.78 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.9061, allocations: 0 / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.9061, allocations: 0 / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.9061, allocations: 4 kB / 1.212 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000211/0.9063, allocations: 103.9 kB / 1.213 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006596/0.907, allocations: 0.5826 MB / 1.213 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.9072, allocations: 102.5 kB / 1.213 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.9073, allocations: 56.89 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.997e-05/0.9073, allocations: 19.98 kB / 1.213 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.459e-05/0.9074, allocations: 34.56 kB / 1.213 GB, free: 7.227 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.9074, allocations: 4 kB / 1.213 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004602/0.9078, allocations: 209.2 kB / 1.214 GB, free: 7.012 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.9079, allocations: 51.41 kB / 1.214 GB, free: 6.949 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.909, allocations: 1.216 MB / 1.215 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.9091, allocations: 25.7 kB / 1.215 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.9092, allocations: 168.2 kB / 1.215 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/0.9092, allocations: 15.91 kB / 1.215 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.9093, allocations: 13.7 kB / 1.215 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9094, allocations: 350.8 kB / 1.215 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.9095, allocations: 51.91 kB / 1.215 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.966e-05/0.9096, allocations: 51.95 kB / 1.215 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.9099, allocations: 108.9 kB / 1.216 GB, free: 4.926 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.9099, allocations: 4 kB / 1.216 GB, free: 4.922 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002788/0.9102, allocations: 165.1 kB / 1.216 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.9102, allocations: 4 kB / 1.216 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.9102, allocations: 0 / 1.216 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.9102, allocations: 0 / 1.216 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.9103, allocations: 11.98 kB / 1.216 GB, free: 4.738 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.9103, allocations: 4.031 kB / 1.216 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.627e-05/0.9104, allocations: 4 kB / 1.216 GB, free: 4.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.9104, allocations: 4 kB / 1.216 GB, free: 4.727 MB / 0.9356 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.0001325/0.9105, allocations: 165.7 kB / 1.216 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.873e-05/0.9106, allocations: 31.62 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003142/0.9109, allocations: 180 kB / 1.216 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.9109, allocations: 4.031 kB / 1.216 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.911, allocations: 0 / 1.216 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.911, allocations: 0 / 1.216 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.9113, allocations: 301.4 kB / 1.216 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.9113, allocations: 3.984 kB / 1.216 GB, free: 3.988 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.9113, allocations: 8 kB / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.9113, allocations: 0 / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.9113, allocations: 0 / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9114, allocations: 0 / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.9114, allocations: 0 / 1.216 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.9117, allocations: 267 kB / 1.217 GB, free: 3.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.9118, allocations: 128.7 kB / 1.217 GB, free: 3.559 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.384e-05/0.9119, allocations: 4 kB / 1.217 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.912, allocations: 4 kB / 1.217 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.912, allocations: 11.92 kB / 1.217 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.912, allocations: 0 / 1.217 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008968/0.9129, allocations: 0.9559 MB / 1.218 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9129, allocations: 0 / 1.218 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003676/0.9133, allocations: 75.92 kB / 1.218 GB, free: 2.512 MB / 0.9356 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.0007921/0.9141, allocations: 0.8521 MB / 1.219 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.9144, allocations: 99.94 kB / 1.219 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.9144, allocations: 3.938 kB / 1.219 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.9145, allocations: 51.97 kB / 1.219 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.9149, allocations: 25.55 kB / 1.219 GB, free: 1.461 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006845/0.9217, allocations: 6.757 MB / 1.225 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003832/0.9221, allocations: 0.7791 MB / 1.226 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 8.566e-05/0.9222, allocations: 42.92 kB / 1.226 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.9224, allocations: 91.41 kB / 1.226 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of SimCode: time 1.092e-06/0.9224, allocations: 0 / 1.226 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02499/0.9474, allocations: 7.13 MB / 1.233 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.225/9.172, allocations: 10.33 kB / 1.233 GB, free: 2.66 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches