Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_Buildings_Utilities_Math_Examples_Interpolate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Interpolate,fileNamePrefix="Buildings_11_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.001288/0.001288, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.381/1.381, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.711/2.711, allocations: 469.8 MB / 0.7424 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 65.5 kB / 0.9086 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2484, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002359/0.2508, allocations: 1.463 MB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001126/0.2519, allocations: 0.777 MB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.252, allocations: 4 kB / 1.066 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.2522, allocations: 131.7 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.2527, allocations: 180.8 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.2528, allocations: 75.72 kB / 1.067 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.741e-05/0.2529, allocations: 67.83 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.199e-05/0.253, allocations: 11.98 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.762e-05/0.2531, allocations: 39.89 kB / 1.067 GB, free: 11.42 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2532, allocations: 79.84 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.2532, allocations: 4 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.2535, allocations: 227.6 kB / 1.067 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.2536, allocations: 107.7 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.063e-05/0.2537, allocations: 91.22 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.2541, allocations: 347.1 kB / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2541, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2541, allocations: 0 / 1.068 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.2541, allocations: 8 kB / 1.068 GB, free: 10.57 MB / 0.8262 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.0007282/0.2549, allocations: 0.6029 MB / 1.068 GB, free: 9.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.2549, allocations: 8.031 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.081e-05/0.2549, allocations: 30.75 kB / 1.068 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.366e-05/0.255, allocations: 36.47 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.2558, allocations: 0.9121 MB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.2558, allocations: 8.375 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.2558, allocations: 384 / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.256, allocations: 97.72 kB / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.331e-06/0.256, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.2561, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.2561, allocations: 0 / 1.069 GB, free: 8.781 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.2563, allocations: 99.92 kB / 1.069 GB, free: 8.684 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.2569, allocations: 0.5787 MB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.2571, allocations: 114.5 kB / 1.07 GB, free: 7.934 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.2572, allocations: 52.89 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.717e-05/0.2572, allocations: 23.98 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.2572, allocations: 30.56 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2573, allocations: 0 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004341/0.2577, allocations: 213.2 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.2577, allocations: 59.34 kB / 1.07 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.2588, allocations: 1.209 MB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2589, allocations: 25.7 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.259, allocations: 176.1 kB / 1.072 GB, free: 6.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.557e-05/0.259, allocations: 11.78 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.2591, allocations: 21.83 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.2592, allocations: 346.8 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.2593, allocations: 55.95 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.835e-05/0.2594, allocations: 47.97 kB / 1.072 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/0.2596, allocations: 104.8 kB / 1.072 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2596, allocations: 4.062 kB / 1.072 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000272/0.2599, allocations: 161.2 kB / 1.072 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.2599, allocations: 4 kB / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.2599, allocations: 0 / 1.072 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.528e-06/0.26, allocations: 4 kB / 1.072 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.655e-05/0.26, allocations: 11.92 kB / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.497e-06/0.2601, allocations: 0 / 1.072 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.2601, allocations: 8.031 kB / 1.072 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2601, allocations: 4 kB / 1.072 GB, free: 5.316 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 (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.0001291/0.2603, allocations: 169.7 kB / 1.073 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.2603, allocations: 35.53 kB / 1.073 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.2606, allocations: 172 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-06/0.2606, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2607, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2607, allocations: 8.016 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.2609, allocations: 297.5 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.2609, allocations: 0 / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.551e-05/0.261, allocations: 8 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.261, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.261, allocations: 0 / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.261, allocations: 11.91 kB / 1.073 GB, free: 4.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.261, allocations: 4 kB / 1.073 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.2614, allocations: 259.1 kB / 1.073 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.2615, allocations: 132.6 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.2615, allocations: 0 / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.692e-05/0.2616, allocations: 4 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.2616, allocations: 11.92 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2616, allocations: 4 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008601/0.2625, allocations: 0.952 MB / 1.074 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2625, allocations: 4.031 kB / 1.074 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000295/0.2628, allocations: 72 kB / 1.075 GB, free: 3.094 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.0007289/0.2636, allocations: 0.8408 MB / 1.075 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002506/0.2638, allocations: 108 kB / 1.075 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2638, allocations: 0 / 1.075 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2639, allocations: 55.95 kB / 1.076 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2642, allocations: 21.56 kB / 1.076 GB, free: 2.043 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/0.2707, allocations: 6.827 MB / 1.082 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.2711, allocations: 0.7767 MB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.377e-05/0.2711, allocations: 38.94 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2713, allocations: 95.39 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.2713, allocations: 4 kB / 1.083 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.971/2.242, allocations: 7.047 MB / 1.09 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.358/11.6, allocations: 19.48 kB / 1.09 GB, free: 3.219 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_Interpolate_fmu --startTime=0 --stopTime=500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_Interpolate.fmu > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches