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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.00559/0.00559, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001306/0.001306, allocations: 202.9 kB / 16.68 MB, free: 5.969 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 482.6 MB / 0.755 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 75.81 kB / 1.083 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3699, allocations: 162.3 MB / 1.242 GB, free: 9.848 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003585/0.3735, allocations: 1.466 MB / 1.243 GB, free: 8.371 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3755, allocations: 0.7713 MB / 1.244 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.676e-05/0.3756, allocations: 4 kB / 1.244 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.3759, allocations: 131.7 kB / 1.244 GB, free: 7.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007987/0.3767, allocations: 179.3 kB / 1.244 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.377, allocations: 79.72 kB / 1.244 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001599/0.3772, allocations: 71.8 kB / 1.244 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.3773, allocations: 4 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.127e-05/0.3774, allocations: 35.89 kB / 1.245 GB, free: 7.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.3776, allocations: 83.86 kB / 1.245 GB, free: 7.02 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3777, allocations: 3.984 kB / 1.245 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006387/0.3783, allocations: 235.6 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.3785, allocations: 107.7 kB / 1.245 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001632/0.3787, allocations: 95.2 kB / 1.245 GB, free: 6.586 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007405/0.3795, allocations: 346.6 kB / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3795, allocations: 0 / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3795, allocations: 0 / 1.245 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.3795, allocations: 0 / 1.245 GB, free: 6.246 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.001266/0.3808, allocations: 0.6299 MB / 1.246 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3809, allocations: 8.031 kB / 1.246 GB, free: 5.559 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.298e-05/0.3809, allocations: 34.75 kB / 1.246 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.636e-05/0.381, allocations: 36.7 kB / 1.246 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.3825, allocations: 0.9202 MB / 1.247 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.3826, allocations: 4.375 kB / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.3826, allocations: 384 / 1.247 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003061/0.3829, allocations: 85.78 kB / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3829, allocations: 0 / 1.247 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.383, allocations: 4 kB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.383, allocations: 0 / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004062/0.3834, allocations: 95.94 kB / 1.247 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001009/0.3844, allocations: 0.5903 MB / 1.248 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000292/0.3848, allocations: 106.5 kB / 1.248 GB, free: 3.578 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.385, allocations: 60.88 kB / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.92e-05/0.385, allocations: 15.98 kB / 1.248 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.3851, allocations: 38.56 kB / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.914e-06/0.3851, allocations: 0 / 1.248 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000748/0.3859, allocations: 209.5 kB / 1.248 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3859, allocations: 55.34 kB / 1.248 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/0.3881, allocations: 1.212 MB / 1.249 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.3882, allocations: 25.7 kB / 1.249 GB, free: 1.918 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.3884, allocations: 176.1 kB / 1.25 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.3884, allocations: 3.953 kB / 1.25 GB, free: 1.738 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.3885, allocations: 13.72 kB / 1.25 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002343/0.3888, allocations: 350.7 kB / 1.25 GB, free: 1.367 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.389, allocations: 56 kB / 1.25 GB, free: 1.312 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.3892, allocations: 47.97 kB / 1.25 GB, free: 1.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.3896, allocations: 104.8 kB / 1.25 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.3896, allocations: 4 kB / 1.25 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005011/0.3901, allocations: 169.4 kB / 1.25 GB, free: 0.9844 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3901, allocations: 4 kB / 1.25 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3902, allocations: 3.984 kB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3902, allocations: 0 / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3903, allocations: 8 kB / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3903, allocations: 0 / 1.25 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.3905, allocations: 11.92 kB / 1.25 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.3905, allocations: 4 kB / 1.25 GB, free: 0.9531 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 0.0002478/0.3908, allocations: 173.7 kB / 1.25 GB, free: 0.7734 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001/0.3909, allocations: 35.77 kB / 1.25 GB, free: 0.7383 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004959/0.3914, allocations: 172.1 kB / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3914, allocations: 0 / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3914, allocations: 0 / 1.251 GB, free: 0.5664 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3914, allocations: 3.984 kB / 1.251 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004806/0.3919, allocations: 289.5 kB / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.392, allocations: 0 / 1.251 GB, free: 236 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.3921, allocations: 23.95 kB / 1.251 GB, free: 212 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.3921, allocations: 4 kB / 1.251 GB, free: 208 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3921, allocations: 3.938 kB / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.3921, allocations: 0 / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3921, allocations: 0 / 1.251 GB, free: 204 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5672/0.9594, allocations: 256.2 kB / 1.251 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.9595, allocations: 133.7 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.379e-05/0.9596, allocations: 2.094 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.9597, allocations: 5.906 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.9597, allocations: 7.391 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.9597, allocations: 0.75 kB / 1.251 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009471/0.9607, allocations: 0.9498 MB / 1.252 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9607, allocations: 0.9375 kB / 1.252 GB, free: 15.01 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003859/0.9611, allocations: 73.23 kB / 1.252 GB, free: 15.01 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.0006227/0.9617, allocations: 0.856 MB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.962, allocations: 104.3 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.962, allocations: 0 / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.9621, allocations: 55.84 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.9624, allocations: 20.44 kB / 1.253 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006588/0.969, allocations: 6.769 MB / 1.26 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002028/0.9693, allocations: 0.7793 MB / 1.261 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 7.784e-05/0.9694, allocations: 42.89 kB / 1.261 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.994e-05/0.9695, allocations: 98.09 kB / 1.261 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of SimCode: time 6.51e-07/0.9695, allocations: 2.062 kB / 1.261 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1944/1.164, allocations: 7.133 MB / 1.268 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.238/10.4, allocations: 2.625 kB / 1.268 GB, free: 10.66 MB / 0.9981 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=400 --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