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 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.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.0009533/0.0009531, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.005416/0.005416, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.313/1.313, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.606/2.606, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003355, allocations: 8.125 kB / 0.9029 GB, free: 36.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2721, allocations: 159.6 MB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.001336/0.2735, allocations: 1.198 MB / 1.06 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.2746, allocations: 0.8066 MB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.2746, allocations: 0 / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.2748, allocations: 131.8 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003879/0.2752, allocations: 159.6 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000117/0.2753, allocations: 47.94 kB / 1.061 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.948e-05/0.2754, allocations: 71.75 kB / 1.061 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.135e-05/0.2755, allocations: 4 kB / 1.061 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.2755, allocations: 39.88 kB / 1.061 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.815e-05/0.2756, allocations: 79.84 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.2757, allocations: 8 kB / 1.061 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002828/0.276, allocations: 207.7 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.2761, allocations: 103.7 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.985e-05/0.2762, allocations: 124.9 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003079/0.2765, allocations: 338.9 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2765, allocations: 0 / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.603e-06/0.2765, allocations: 0 / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.547e-06/0.2765, allocations: 0 / 1.062 GB, free: 1.562 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.0006087/0.2771, allocations: 0.5723 MB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.2771, allocations: 11.97 kB / 1.063 GB, free: 0.9297 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.027e-05/0.2772, allocations: 34.75 kB / 1.063 GB, free: 0.8867 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.2772, allocations: 36.55 kB / 1.063 GB, free: 0.8516 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006881/0.2779, allocations: 0.916 MB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.2779, allocations: 4.359 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-06/0.278, allocations: 384 / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.2781, allocations: 93.78 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.663e-06/0.2781, allocations: 0 / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.2782, allocations: 7.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.596e-06/0.2782, allocations: 3.938 kB / 1.064 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002055/0.2784, allocations: 107.9 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.2789, allocations: 0.5787 MB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.2791, allocations: 106.5 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.2792, allocations: 64.89 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.2793, allocations: 23.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.2793, allocations: 34.5 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2793, allocations: 0 / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004174/0.2797, allocations: 225.2 kB / 1.065 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.2797, allocations: 59.34 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009778/0.2807, allocations: 1.212 MB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.2807, allocations: 25.7 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2809, allocations: 184 kB / 1.066 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.2809, allocations: 3.938 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.925e-05/0.2809, allocations: 13.84 kB / 1.066 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.281, allocations: 354.7 kB / 1.067 GB, free: 12.69 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2811, allocations: 51.97 kB / 1.067 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.695e-05/0.2812, allocations: 51.97 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/0.2814, allocations: 124.8 kB / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.2814, allocations: 0 / 1.067 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002583/0.2817, allocations: 177.2 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.2817, allocations: 4 kB / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.2817, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.2817, allocations: 0 / 1.067 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.2818, allocations: 15.98 kB / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-06/0.2818, allocations: 0 / 1.067 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.394e-05/0.2819, allocations: 12.02 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.2819, allocations: 4 kB / 1.067 GB, free: 12.25 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.0001078/0.282, allocations: 165.7 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.2821, allocations: 31.61 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.2824, allocations: 188 kB / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2824, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2824, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.2824, allocations: 0 / 1.067 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.2826, allocations: 305.5 kB / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.2827, allocations: 0 / 1.068 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.769e-05/0.2827, allocations: 12 kB / 1.068 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.2827, allocations: 3.984 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.2827, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2827, allocations: 4.031 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2827, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.283, allocations: 278.9 kB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.82e-05/0.2831, allocations: 128.6 kB / 1.068 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.2832, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.2833, allocations: 4 kB / 1.068 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.2833, allocations: 11.92 kB / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2833, allocations: 0 / 1.068 GB, free: 11.03 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007456/0.2841, allocations: 0.952 MB / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2841, allocations: 0 / 1.069 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002899/0.2844, allocations: 72 kB / 1.069 GB, free: 10.01 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.0006269/0.285, allocations: 0.8681 MB / 1.07 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.2852, allocations: 107.9 kB / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2853, allocations: 0 / 1.07 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001128/0.2854, allocations: 64.02 kB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2857, allocations: 25.41 kB / 1.07 GB, free: 8.926 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.2914, allocations: 6.883 MB / 1.077 GB, free: 1.957 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002688/0.2917, allocations: 0.7833 MB / 1.078 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.873e-05/0.2918, allocations: 42.92 kB / 1.078 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.2919, allocations: 87.41 kB / 1.078 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.2919, allocations: 0 / 1.078 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.267/1.558, allocations: 6.547 MB / 1.084 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/1.559, allocations: 209.6 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.162/3.72, allocations: 8 kB / 1.084 GB, free: 10.35 MB / 0.8419 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=50 --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