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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007291/0.007291, allocations: 102.6 kB / 15.73 MB, free: 6.492 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.001603/0.001603, allocations: 192 kB / 16.67 MB, free: 6.379 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.39/1.39, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.698/2.698, allocations: 461.9 MB / 0.7348 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 63.91 kB / 1.054 GB, free: 7.578 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3003, allocations: 157.4 MB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002545/0.3029, allocations: 1.488 MB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.3041, allocations: 0.7365 MB / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.928e-05/0.3042, allocations: 0 / 1.21 GB, free: 7.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.3044, allocations: 135.7 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3045, allocations: 67.83 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006387/0.3051, allocations: 182.3 kB / 1.21 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.3053, allocations: 67.8 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.3053, allocations: 8 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.461e-05/0.3054, allocations: 39.89 kB / 1.21 GB, free: 7.332 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.3055, allocations: 75.86 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.138e-05/0.3055, allocations: 0 / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003736/0.3059, allocations: 231.7 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.247e-05/0.306, allocations: 63.83 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.091e-05/0.3061, allocations: 55.48 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.3064, allocations: 275.4 kB / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.3064, allocations: 0 / 1.211 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.3065, allocations: 3.938 kB / 1.211 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.3065, allocations: 4 kB / 1.211 GB, free: 6.637 MB / 0.9669 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.0006427/0.3071, allocations: 0.5099 MB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.3072, allocations: 8.625 kB / 1.211 GB, free: 6.07 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.625e-05/0.3072, allocations: 34.75 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.787e-05/0.3073, allocations: 20.66 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002516/0.3075, allocations: 251.7 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.3075, allocations: 384 / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.3075, allocations: 4.375 kB / 1.211 GB, free: 5.719 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.3077, allocations: 81.78 kB / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3077, allocations: 0 / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.3078, allocations: 0 / 1.212 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3078, allocations: 4 kB / 1.212 GB, free: 5.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.308, allocations: 87.86 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005136/0.3085, allocations: 392.7 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.3087, allocations: 94.52 kB / 1.212 GB, free: 5.008 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3088, allocations: 48.89 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.3089, allocations: 19.98 kB / 1.212 GB, free: 4.938 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.3089, allocations: 30.56 kB / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3089, allocations: 0 / 1.212 GB, free: 4.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0004396/0.3094, allocations: 189.2 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.3094, allocations: 51.41 kB / 1.212 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003414/0.3097, allocations: 355.2 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.3098, allocations: 25.7 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.3099, allocations: 144 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.356e-05/0.3099, allocations: 7.844 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.503e-05/0.3099, allocations: 33.83 kB / 1.213 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.31, allocations: 330.8 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001626/0.3102, allocations: 99.94 kB / 1.213 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3104, allocations: 95.94 kB / 1.213 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.3107, allocations: 210.4 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3107, allocations: 3.938 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003706/0.3111, allocations: 257.3 kB / 1.214 GB, free: 3.074 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.3111, allocations: 4 kB / 1.214 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3111, allocations: 4 kB / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.3111, allocations: 0 / 1.214 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.3112, allocations: 4 kB / 1.214 GB, free: 3.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3112, allocations: 3.984 kB / 1.214 GB, free: 3.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.3113, allocations: 15.84 kB / 1.214 GB, free: 3.043 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.3113, allocations: 0 / 1.214 GB, free: 3.043 MB / 0.9669 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.0001064/0.3114, allocations: 149.7 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/0.3115, allocations: 19.72 kB / 1.214 GB, free: 2.867 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.3118, allocations: 146.6 kB / 1.214 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3118, allocations: 7.984 kB / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3118, allocations: 0 / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.3118, allocations: 0 / 1.214 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002331/0.312, allocations: 241.5 kB / 1.214 GB, free: 2.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.312, allocations: 4.031 kB / 1.214 GB, free: 2.422 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.3121, allocations: 8 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3121, allocations: 0 / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.3121, allocations: 0 / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3121, allocations: 0 / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.3121, allocations: 3.984 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002987/0.3124, allocations: 235.1 kB / 1.215 GB, free: 2.164 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.468e-05/0.3125, allocations: 108.8 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3126, allocations: 0 / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.329e-05/0.3127, allocations: 11.98 kB / 1.215 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.707e-05/0.3127, allocations: 4 kB / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.3127, allocations: 0 / 1.215 GB, free: 2.023 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002395/0.313, allocations: 249.9 kB / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.313, allocations: 0 / 1.215 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003435/0.3133, allocations: 63.98 kB / 1.215 GB, free: 1.715 MB / 0.9669 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.0007473/0.3141, allocations: 0.8292 MB / 1.216 GB, free: 0.8594 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003162/0.3144, allocations: 167.9 kB / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3144, allocations: 0 / 1.216 GB, free: 0.6953 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.3145, allocations: 43.97 kB / 1.216 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.3149, allocations: 12.66 kB / 1.216 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002913/0.3178, allocations: 2.723 MB / 1.219 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.3181, allocations: 0.74 MB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.472e-05/0.3182, allocations: 16.55 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.132e-05/0.3182, allocations: 55.36 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3182, allocations: 4 kB / 1.22 GB, free: 13 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02177/0.34, allocations: 4.323 MB / 1.224 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.045/8.385, allocations: 18.61 kB / 1.224 GB, free: 8.781 MB / 0.9825 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_Interpolate.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches