Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 112.6 kB / 16.37 MB, free: 6 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.00131/0.00131, allocations: 196 kB / 17.31 MB, free: 5.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.326/1.326, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.477/2.477, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 69.16 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.288, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0017/0.2897, allocations: 0.6211 MB / 1.027 GB, free: 1.434 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001667/0.2914, allocations: 1.437 MB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.003e-05/0.2914, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.2915, allocations: 0 / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.127e-05/0.2915, allocations: 7.938 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.2921, allocations: 215.4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.907e-05/0.2922, allocations: 39.89 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.2923, allocations: 4 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.2923, allocations: 11.98 kB / 1.029 GB, free: 15.71 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.566e-05/0.2923, allocations: 19.92 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.42e-05/0.2924, allocations: 7.938 kB / 1.029 GB, free: 15.68 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003589/0.2927, allocations: 247.7 kB / 1.029 GB, free: 15.44 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.2928, allocations: 7.984 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.2928, allocations: 23.81 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2931, allocations: 219.5 kB / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.2931, allocations: 0 / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2931, allocations: 0 / 1.03 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2931, allocations: 0 / 1.03 GB, free: 15.19 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003571/0.2935, allocations: 401.1 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.2935, allocations: 8.031 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.199e-05/0.2936, allocations: 12.84 kB / 1.03 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.2937, allocations: 168.2 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2937, allocations: 8.359 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.2937, allocations: 4.375 kB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.2939, allocations: 85.91 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.2939, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.105e-05/0.2939, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2939, allocations: 0 / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.645e-05/0.294, allocations: 27.98 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.2941, allocations: 165.7 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.934e-05/0.2942, allocations: 58.55 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.936e-05/0.2943, allocations: 64.8 kB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-06/0.2943, allocations: 0 / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.2943, allocations: 34.5 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 8.62e-07/0.2943, allocations: 0 / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003077/0.2946, allocations: 183.5 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2947, allocations: 77.11 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.531e-05/0.2948, allocations: 121.8 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.2948, allocations: 29.7 kB / 1.031 GB, free: 13.56 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.698e-05/0.2948, allocations: 88.17 kB / 1.031 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.913e-05/0.2949, allocations: 27.56 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.873e-05/0.2949, allocations: 21.7 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.295, allocations: 314.8 kB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.843e-05/0.2951, allocations: 43.91 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.2952, allocations: 39.91 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.2953, allocations: 136.8 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2953, allocations: 0 / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.2955, allocations: 155.3 kB / 1.032 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.2955, allocations: 41.64 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2956, allocations: 0 / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.2956, allocations: 3.984 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.2956, allocations: 4 kB / 1.032 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.309e-06/0.2956, allocations: 3.938 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.2957, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.2957, allocations: 4 kB / 1.032 GB, free: 12.64 MB / 0.8106 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.992e-05/0.2958, allocations: 155.4 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2959, allocations: 19.86 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.2959, allocations: 8.375 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2959, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2959, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.2959, allocations: 3.984 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001089/0.296, allocations: 165.7 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.296, allocations: 0 / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-06/0.296, allocations: 3.984 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.296, allocations: 3.938 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.2961, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.2961, allocations: 4 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2961, allocations: 0 / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.2963, allocations: 202.7 kB / 1.032 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.147e-05/0.2964, allocations: 81.05 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2964, allocations: 4 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.639e-05/0.2964, allocations: 7.984 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.2965, allocations: 4 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.2965, allocations: 4 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.705e-05/0.2965, allocations: 99.23 kB / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2965, allocations: 0 / 1.032 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002916/0.2968, allocations: 79.98 kB / 1.033 GB, free: 11.7 MB / 0.8106 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000278/0.2971, allocations: 155.2 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002457/0.2974, allocations: 199.3 kB / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2974, allocations: 0 / 1.033 GB, free: 11.33 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001313/0.2975, allocations: 151.4 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.2977, allocations: 12.11 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002619/0.2979, allocations: 164.9 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.2982, allocations: 0.6885 MB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.266e-06/0.2982, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-06/0.2982, allocations: 7.438 kB / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 1.473e-06/0.2982, allocations: 0 / 1.034 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.004229/0.3024, allocations: 2.041 MB / 1.036 GB, free: 8.215 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches