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 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: translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Functions.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.00108, allocations: 108 kB / 15.61 MB, free: 152 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.00109/0.00109, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.356/1.356, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.832/2.832, allocations: 472.6 MB / 0.7451 GB, free: 4.695 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.48 kB / 0.912 GB, free: 33.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2914, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Interpolate): time 0.002429/0.2938, allocations: 1.494 MB / 1.07 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.2949, allocations: 0.74 MB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.051e-05/0.295, allocations: 0 / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.2952, allocations: 131.7 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.2953, allocations: 71.83 kB / 1.071 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005486/0.2958, allocations: 187.5 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.2959, allocations: 59.83 kB / 1.071 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.296, allocations: 7.984 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.821e-05/0.296, allocations: 31.95 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.2961, allocations: 83.84 kB / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.2962, allocations: 0 / 1.071 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003385/0.2965, allocations: 223.7 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.344e-05/0.2966, allocations: 67.77 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.489e-05/0.2967, allocations: 55.48 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.297, allocations: 275.4 kB / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.297, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.402e-06/0.297, allocations: 0 / 1.071 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.297, allocations: 0 / 1.071 GB, free: 7.031 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.0005709/0.2976, allocations: 0.5021 MB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.2976, allocations: 8.031 kB / 1.072 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.2977, allocations: 24.66 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.2979, allocations: 259.8 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.2979, allocations: 384 / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.2979, allocations: 4.375 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2981, allocations: 85.89 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.2981, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.2981, allocations: 0 / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2981, allocations: 3.938 kB / 1.072 GB, free: 6.062 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001964/0.2983, allocations: 91.92 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.2988, allocations: 396.6 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.299, allocations: 90.52 kB / 1.073 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.2991, allocations: 48.83 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.2992, allocations: 19.98 kB / 1.073 GB, free: 5.367 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.2992, allocations: 34.56 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.2992, allocations: 0 / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0003986/0.2996, allocations: 177.3 kB / 1.073 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.756e-05/0.2997, allocations: 51.41 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003156/0.3, allocations: 359.3 kB / 1.074 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3, allocations: 25.7 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.789e-05/0.3001, allocations: 136.1 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.047e-05/0.3001, allocations: 3.906 kB / 1.074 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.122e-05/0.3001, allocations: 29.69 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3003, allocations: 334.8 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.3004, allocations: 99.88 kB / 1.074 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3006, allocations: 107.8 kB / 1.074 GB, free: 3.969 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002736/0.3008, allocations: 210.7 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3008, allocations: 0 / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000376/0.3012, allocations: 255.1 kB / 1.075 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3013, allocations: 5.719 kB / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3013, allocations: 0 / 1.075 GB, free: 3.504 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3013, allocations: 4 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.3014, allocations: 8 kB / 1.075 GB, free: 3.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.3014, allocations: 3.984 kB / 1.075 GB, free: 3.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.435e-05/0.3015, allocations: 15.84 kB / 1.075 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.3015, allocations: 3.984 kB / 1.075 GB, free: 3.469 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 0.0001019/0.3016, allocations: 154.2 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.3016, allocations: 19.72 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002718/0.3019, allocations: 142.6 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.3019, allocations: 0 / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3019, allocations: 4 kB / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.3019, allocations: 0 / 1.075 GB, free: 3.141 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002109/0.3021, allocations: 241.5 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3021, allocations: 0 / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.76e-05/0.3022, allocations: 8 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3022, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3022, allocations: 0 / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3022, allocations: 3.984 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3022, allocations: 4.031 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.3025, allocations: 235.1 kB / 1.076 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.3026, allocations: 108.8 kB / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3026, allocations: 0 / 1.076 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.927e-05/0.3027, allocations: 7.984 kB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.3028, allocations: 4.031 kB / 1.076 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.3028, allocations: 4 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002132/0.303, allocations: 245.9 kB / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.303, allocations: 0 / 1.076 GB, free: 2.219 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003282/0.3033, allocations: 67.98 kB / 1.076 GB, free: 2.152 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.0002632/0.3036, allocations: 163.1 kB / 1.076 GB, free: 1.984 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003151/0.3039, allocations: 167.8 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3039, allocations: 0 / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.304, allocations: 43.97 kB / 1.076 GB, free: 1.777 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3043, allocations: 16.38 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005675/0.3049, allocations: 376 kB / 1.077 GB, free: 1.363 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.3052, allocations: 0.7392 MB / 1.077 GB, free: 0.5977 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.826e-05/0.3053, allocations: 16.55 kB / 1.077 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.3053, allocations: 11.44 kB / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3053, allocations: 0 / 1.077 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of Templates: time 0.004867/0.3102, allocations: 2.108 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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