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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.0009037/0.0009036, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00545/0.00545, allocations: 172.2 kB / 16.27 MB, free: 6.66 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.291/1.291, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.507/2.507, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 10.59 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2455, allocations: 159.6 MB / 1.059 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.001635/0.2471, allocations: 1.234 MB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.2484, allocations: 0.7559 MB / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.2485, allocations: 0 / 1.061 GB, free: 2.922 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001938/0.2487, allocations: 131.8 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.975e-05/0.2488, allocations: 71.83 kB / 1.061 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.2493, allocations: 138.7 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.2494, allocations: 59.88 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.2494, allocations: 0 / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.829e-05/0.2495, allocations: 39.89 kB / 1.061 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.2496, allocations: 75.86 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.377e-05/0.2497, allocations: 8 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003384/0.25, allocations: 215.7 kB / 1.061 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.441e-05/0.2501, allocations: 67.77 kB / 1.061 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.2502, allocations: 77.19 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003308/0.2505, allocations: 267.5 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.2505, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.136e-06/0.2505, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.2505, allocations: 3.938 kB / 1.062 GB, free: 1.785 MB / 0.8106 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.0005756/0.2511, allocations: 0.4906 MB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.2511, allocations: 11.97 kB / 1.062 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.461e-05/0.2512, allocations: 34.75 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.2512, allocations: 16.75 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.2515, allocations: 263.7 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2515, allocations: 384 / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.2515, allocations: 4.375 kB / 1.063 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.2517, allocations: 89.72 kB / 1.063 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.2517, allocations: 4 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.2517, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.2517, allocations: 0 / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002064/0.2519, allocations: 91.94 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.2524, allocations: 412.6 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.2526, allocations: 94.47 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.2527, allocations: 56.89 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.2528, allocations: 15.98 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.2528, allocations: 34.56 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2528, allocations: 0 / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0004406/0.2532, allocations: 197.2 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2533, allocations: 51.41 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.2536, allocations: 351.3 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.2536, allocations: 29.7 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.112e-05/0.2537, allocations: 140.1 kB / 1.064 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.2537, allocations: 7.891 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.2538, allocations: 29.64 kB / 1.064 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2539, allocations: 342.8 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.254, allocations: 95.95 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.2542, allocations: 107.9 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002848/0.2545, allocations: 215.6 kB / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2545, allocations: 0 / 1.065 GB, free: 14.43 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000351/0.2548, allocations: 265.3 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.2549, allocations: 4 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.2549, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.2549, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.549e-05/0.255, allocations: 11.98 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.255, allocations: 3.938 kB / 1.065 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.2551, allocations: 27.73 kB / 1.065 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.2551, allocations: 4 kB / 1.065 GB, free: 14.12 MB / 0.8262 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 9.785e-05/0.2552, allocations: 145.8 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.2552, allocations: 15.91 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002846/0.2555, allocations: 154.6 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2555, allocations: 4 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2556, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2556, allocations: 0 / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.2558, allocations: 241.5 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2558, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.062e-05/0.2558, allocations: 15.98 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2559, allocations: 4.031 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.2559, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.2559, allocations: 3.938 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2559, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.2562, allocations: 247.1 kB / 1.066 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.288e-05/0.2562, allocations: 100.8 kB / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2563, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.91e-05/0.2564, allocations: 11.98 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.972e-05/0.2564, allocations: 0 / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2564, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002153/0.2566, allocations: 249.9 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2566, allocations: 4.031 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000316/0.257, allocations: 68 kB / 1.066 GB, free: 12.77 MB / 0.8262 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.0006936/0.2577, allocations: 0.837 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003051/0.258, allocations: 175.8 kB / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.258, allocations: 0 / 1.067 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.2581, allocations: 52 kB / 1.067 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.2584, allocations: 12.66 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.2613, allocations: 2.754 MB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.2616, allocations: 0.7355 MB / 1.071 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.2616, allocations: 20.55 kB / 1.071 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.174e-05/0.2617, allocations: 55.42 kB / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.2617, allocations: 0 / 1.071 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3413/0.603, allocations: 3.932 MB / 1.075 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/0.6033, allocations: 210.9 kB / 1.075 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/2.794, allocations: 4.062 kB / 1.075 GB, free: 3.953 MB / 0.8262 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