Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone|y2|y2Monotone|y1|y1Monotone",fileNamePrefix="Buildings_10_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_10_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.005636/0.005636, allocations: 102.8 kB / 15.74 MB, free: 6.5 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.001022/0.001022, allocations: 198.1 kB / 16.68 MB, free: 6.375 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 71.89 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3057, allocations: 151.6 MB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation): time 0.001798/0.3075, allocations: 0.6078 MB / 1.167 GB, free: 6.266 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3094, allocations: 1.439 MB / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.759e-05/0.3095, allocations: 0 / 1.169 GB, free: 4.809 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.829e-05/0.3096, allocations: 4 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.32e-05/0.3096, allocations: 3.938 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007648/0.3104, allocations: 207.5 kB / 1.169 GB, free: 4.598 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.3105, allocations: 43.91 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.148e-05/0.3106, allocations: 3.984 kB / 1.169 GB, free: 4.551 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.3106, allocations: 8 kB / 1.169 GB, free: 4.543 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.209e-05/0.3107, allocations: 31.89 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.3107, allocations: 4 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004227/0.3111, allocations: 247.7 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.83e-05/0.3112, allocations: 11.88 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.3112, allocations: 15.92 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.3115, allocations: 211.4 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3115, allocations: 0 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3116, allocations: 0 / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.3116, allocations: 0 / 1.169 GB, free: 4.031 MB / 0.92 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.0004106/0.312, allocations: 412.7 kB / 1.17 GB, free: 3.574 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.312, allocations: 12.03 kB / 1.17 GB, free: 3.562 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3121, allocations: 8.891 kB / 1.17 GB, free: 3.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3122, allocations: 164.4 kB / 1.17 GB, free: 3.355 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3122, allocations: 4.375 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.46e-05/0.3122, allocations: 4.312 kB / 1.17 GB, free: 3.348 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.3124, allocations: 77.97 kB / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.3124, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.3124, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-06/0.3124, allocations: 0 / 1.17 GB, free: 3.266 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.3125, allocations: 39.97 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001402/0.3126, allocations: 165.6 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 9.061e-05/0.3127, allocations: 62.55 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.306e-05/0.3128, allocations: 52.8 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.3128, allocations: 4 kB / 1.17 GB, free: 2.887 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.3128, allocations: 38.5 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3128, allocations: 0 / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003012/0.3131, allocations: 187.3 kB / 1.171 GB, free: 2.645 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.3132, allocations: 85.09 kB / 1.171 GB, free: 2.543 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.064e-05/0.3133, allocations: 114.1 kB / 1.171 GB, free: 2.422 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.3133, allocations: 29.7 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.521e-05/0.3133, allocations: 84.14 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.3134, allocations: 31.62 kB / 1.171 GB, free: 2.27 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.3134, allocations: 25.7 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.3135, allocations: 314.8 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.514e-05/0.3136, allocations: 43.94 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.3136, allocations: 35.97 kB / 1.171 GB, free: 1.844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001365/0.3138, allocations: 140.2 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3138, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001968/0.314, allocations: 151.5 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.314, allocations: 41.62 kB / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.3141, allocations: 0 / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3141, allocations: 0 / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.3141, allocations: 0 / 1.172 GB, free: 1.484 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.3141, allocations: 4 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.435e-05/0.3142, allocations: 12.02 kB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.3142, allocations: 7.984 kB / 1.172 GB, free: 1.461 MB / 0.92 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.668e-05/0.3143, allocations: 155.5 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.813e-05/0.3143, allocations: 7.938 kB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.237e-05/0.3143, allocations: 8.359 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3144, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3144, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3144, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.3145, allocations: 177.5 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3145, allocations: 4 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.11e-07/0.3145, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3145, allocations: 3.938 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.3145, allocations: 4 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3145, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3145, allocations: 0 / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3148, allocations: 190.8 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.3148, allocations: 85 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.3148, allocations: 12.03 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.635e-05/0.3149, allocations: 7.984 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.3149, allocations: 4 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.3149, allocations: 7.938 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.315, allocations: 91.27 kB / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.363e-06/0.315, allocations: 0 / 1.172 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003135/0.3153, allocations: 79.8 kB / 1.172 GB, free: 0.5273 MB / 0.92 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.0003224/0.3156, allocations: 163.1 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.3159, allocations: 195.3 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3159, allocations: 0 / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3161, allocations: 155.4 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.3163, allocations: 11.88 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.3166, allocations: 160.8 kB / 1.173 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3169, allocations: 0.6846 MB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.295e-06/0.3169, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.317, allocations: 7.438 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.317, allocations: 8.062 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.005303/0.3223, allocations: 2.051 MB / 1.176 GB, free: 13.04 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothInterpolation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothInterpolation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches