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.001386/0.001387, allocations: 91.92 kB / 16.02 MB, free: 80 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.001506/0.001506, allocations: 180.3 kB / 16.92 MB, free: 6.652 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.479/1.479, allocations: 223.3 MB / 241 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.717/2.717, allocations: 462.7 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003392/0.0003394, allocations: 14.31 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2904, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.0006897/0.2911, allocations: 370.7 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001888/0.293, allocations: 1.455 MB / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.959e-05/0.293, allocations: 0 / 1.061 GB, free: 3.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.9e-05/0.2931, allocations: 3.938 kB / 1.061 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.857e-05/0.2931, allocations: 8 kB / 1.061 GB, free: 3.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005972/0.2937, allocations: 158.2 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.2938, allocations: 27.97 kB / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.11e-05/0.2939, allocations: 0 / 1.061 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.58e-05/0.2939, allocations: 27.91 kB / 1.061 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.255e-05/0.294, allocations: 23.86 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.294, allocations: 0 / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.2944, allocations: 243.7 kB / 1.062 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.496e-05/0.2944, allocations: 4 kB / 1.062 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.681e-05/0.2945, allocations: 45.56 kB / 1.062 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2947, allocations: 147.8 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.2947, allocations: 0 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.774e-06/0.2947, allocations: 0 / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2947, allocations: 0 / 1.062 GB, free: 2.453 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.0003782/0.2951, allocations: 389.4 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.2952, allocations: 15.91 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.2952, allocations: 4.938 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.2953, allocations: 172.2 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2953, allocations: 4.375 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2954, allocations: 384 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.2955, allocations: 81.97 kB / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-06/0.2955, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2955, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2956, allocations: 0 / 1.062 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.214e-05/0.2956, allocations: 39.97 kB / 1.062 GB, free: 1.664 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/0.2958, allocations: 165.6 kB / 1.063 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.2959, allocations: 70.48 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.2959, allocations: 48.86 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.853e-06/0.296, allocations: 7.938 kB / 1.063 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.296, allocations: 38.5 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 2.695e-06/0.296, allocations: 3.984 kB / 1.063 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0002954/0.2963, allocations: 187.4 kB / 1.063 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.2963, allocations: 81.11 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.2964, allocations: 117.8 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.2965, allocations: 29.7 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.543e-05/0.2965, allocations: 84.14 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.2965, allocations: 23.7 kB / 1.063 GB, free: 0.7031 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.2966, allocations: 13.72 kB / 1.063 GB, free: 0.6836 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.2967, allocations: 318.8 kB / 1.064 GB, free: 372 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.095e-05/0.2967, allocations: 27.98 kB / 1.064 GB, free: 344 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.764e-05/0.2968, allocations: 39.97 kB / 1.064 GB, free: 304 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.2969, allocations: 144.2 kB / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2969, allocations: 0 / 1.064 GB, free: 144 kB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001854/0.2971, allocations: 151.2 kB / 1.064 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.2972, allocations: 41.62 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/0.2972, allocations: 3.938 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2972, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.2972, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.067e-06/0.2972, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.756e-05/0.2973, allocations: 11.94 kB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.2974, allocations: 8.609 kB / 1.064 GB, free: 15.91 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 (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.51e-05/0.2975, allocations: 151.6 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.2975, allocations: 11.84 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.264e-05/0.2975, allocations: 8.375 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2975, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2975, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2975, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001072/0.2976, allocations: 169.6 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2976, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.2976, allocations: 0 / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.2977, allocations: 3.938 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.2977, allocations: 8 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2977, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2977, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.2979, allocations: 210.6 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.298, allocations: 88.95 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.298, allocations: 4 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.828e-05/0.298, allocations: 7.984 kB / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.298, allocations: 32 / 1.065 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.2981, allocations: 12 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.343e-05/0.2981, allocations: 91.27 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2981, allocations: 0 / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003038/0.2984, allocations: 71.98 kB / 1.065 GB, free: 14.98 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 (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.000289/0.2987, allocations: 169.6 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002375/0.299, allocations: 191.3 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.299, allocations: 0 / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.2991, allocations: 155.4 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.2993, allocations: 8 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.2996, allocations: 204.3 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2998, allocations: 0.6848 MB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.065e-05/0.2999, allocations: 7.438 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of SimCode: time 4.31e-07/0.2999, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.003432/0.3033, allocations: 1.706 MB / 1.068 GB, free: 11.78 MB / 0.8262 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 -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