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.005588/0.005588, allocations: 102 kB / 15.73 MB, free: 6.051 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.001209/0.001209, allocations: 191.4 kB / 16.67 MB, free: 5.965 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: 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.717/2.717, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.91 kB / 1.054 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8385/0.84, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002596/0.8426, allocations: 1.492 MB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.8439, allocations: 0.7323 MB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.307e-05/0.8439, allocations: 0 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000207/0.8442, allocations: 139.7 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.8443, allocations: 67.83 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.845, allocations: 179.6 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.8451, allocations: 59.83 kB / 1.21 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.8451, allocations: 11.98 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.8452, allocations: 39.89 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.8453, allocations: 75.84 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.8453, allocations: 4 kB / 1.21 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004017/0.8457, allocations: 227.7 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.8458, allocations: 59.83 kB / 1.21 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.8459, allocations: 55.48 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.8463, allocations: 277.5 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8463, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8463, allocations: 0 / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.8463, allocations: 4 kB / 1.211 GB, free: 10.14 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.000627/0.847, allocations: 0.506 MB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.847, allocations: 12.03 kB / 1.211 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.948e-05/0.847, allocations: 30.75 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.8471, allocations: 24.59 kB / 1.211 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.8473, allocations: 267.6 kB / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.8473, allocations: 384 / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.8474, allocations: 384 / 1.211 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.8475, allocations: 85.61 kB / 1.212 GB, free: 9.125 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.8476, allocations: 7.922 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.8476, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.8476, allocations: 0 / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.8478, allocations: 83.94 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004834/0.8483, allocations: 384.8 kB / 1.212 GB, free: 8.609 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.8485, allocations: 94.52 kB / 1.212 GB, free: 8.508 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.8486, allocations: 48.89 kB / 1.212 GB, free: 8.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.8486, allocations: 19.98 kB / 1.212 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.8486, allocations: 34.5 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.8487, allocations: 0 / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000412/0.8491, allocations: 177.3 kB / 1.212 GB, free: 8.215 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.8491, allocations: 55.41 kB / 1.212 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.8495, allocations: 359.1 kB / 1.213 GB, free: 7.785 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.8495, allocations: 25.7 kB / 1.213 GB, free: 7.754 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.8496, allocations: 136.1 kB / 1.213 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.211e-05/0.8496, allocations: 3.906 kB / 1.213 GB, free: 7.613 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.716e-05/0.8496, allocations: 37.83 kB / 1.213 GB, free: 7.57 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.8498, allocations: 338.8 kB / 1.213 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.8499, allocations: 91.95 kB / 1.213 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.8501, allocations: 99.88 kB / 1.213 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002734/0.8503, allocations: 207.3 kB / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.8504, allocations: 0 / 1.214 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003409/0.8507, allocations: 253.2 kB / 1.214 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.8507, allocations: 8 kB / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.8507, allocations: 0 / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.8508, allocations: 0 / 1.214 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.96e-05/0.8509, allocations: 19.92 kB / 1.214 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.8509, allocations: 3.984 kB / 1.214 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.434e-05/0.8509, allocations: 11.84 kB / 1.214 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.161e-06/0.8509, allocations: 0 / 1.214 GB, free: 6.543 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 (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.0001084/0.8511, allocations: 157.7 kB / 1.214 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.8511, allocations: 19.72 kB / 1.214 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002731/0.8514, allocations: 142.6 kB / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.8514, allocations: 0 / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.8514, allocations: 0 / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.8514, allocations: 0 / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.8517, allocations: 245.5 kB / 1.214 GB, free: 5.926 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8517, allocations: 7.969 kB / 1.214 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.8517, allocations: 7.984 kB / 1.214 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.8517, allocations: 0 / 1.214 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.8518, allocations: 0 / 1.214 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8518, allocations: 4 kB / 1.214 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.8518, allocations: 0 / 1.214 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.8521, allocations: 243.2 kB / 1.215 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.8521, allocations: 100.8 kB / 1.215 GB, free: 5.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.8522, allocations: 4 kB / 1.215 GB, free: 5.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.8523, allocations: 7.984 kB / 1.215 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.8523, allocations: 0 / 1.215 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-06/0.8523, allocations: 0 / 1.215 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002331/0.8525, allocations: 257.9 kB / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8526, allocations: 0 / 1.215 GB, free: 5.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003463/0.8529, allocations: 64 kB / 1.215 GB, free: 5.207 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.0007503/0.8537, allocations: 0.8214 MB / 1.216 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.854, allocations: 163.9 kB / 1.216 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.854, allocations: 0 / 1.216 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.8541, allocations: 39.97 kB / 1.216 GB, free: 4.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.8544, allocations: 12.66 kB / 1.216 GB, free: 4.145 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002774/0.8572, allocations: 2.734 MB / 1.219 GB, free: 1.336 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.8575, allocations: 0.7353 MB / 1.22 GB, free: 0.5742 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.292e-05/0.8576, allocations: 16.55 kB / 1.22 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.604e-05/0.8577, allocations: 55.41 kB / 1.22 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.8577, allocations: 4 kB / 1.22 GB, free: 0.5 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.8786, allocations: 4.275 MB / 1.224 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.903, allocations: 7.922 kB / 1.224 GB, free: 12.34 MB / 0.9512 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