Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001398/0.001398, allocations: 196 kB / 16.14 MB, free: 6.711 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.406/1.406, allocations: 222.9 MB / 239.8 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7342 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 65.86 kB / 0.8984 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3226, allocations: 157.4 MB / 1.052 GB, free: 8.812 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002697/0.3253, allocations: 1.495 MB / 1.054 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000435/0.3258, allocations: 207.4 kB / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.3258, allocations: 0 / 1.054 GB, free: 7.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3259, allocations: 3.938 kB / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.473e-05/0.3259, allocations: 0 / 1.054 GB, free: 7.094 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002131/0.3262, allocations: 27.92 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.436e-05/0.3262, allocations: 27.91 kB / 1.054 GB, free: 7.039 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.71e-05/0.3263, allocations: 4 kB / 1.054 GB, free: 7.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.3264, allocations: 11.98 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.3264, allocations: 7.938 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.3264, allocations: 4 kB / 1.054 GB, free: 7.012 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.127e-05/0.3265, allocations: 35.95 kB / 1.054 GB, free: 6.977 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.74e-05/0.3265, allocations: 7.938 kB / 1.054 GB, free: 6.969 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.198e-05/0.3266, allocations: 7.938 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001239/0.3267, allocations: 43.88 kB / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3267, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3267, allocations: 0 / 1.054 GB, free: 6.918 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.657e-06/0.3267, allocations: 0 / 1.054 GB, free: 6.918 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.0004366/0.3272, allocations: 351.7 kB / 1.054 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.3272, allocations: 8.031 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.3272, allocations: 4.844 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.3274, allocations: 164.4 kB / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3274, allocations: 384 / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.3274, allocations: 384 / 1.054 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3276, allocations: 50.23 kB / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.3276, allocations: 192 / 1.054 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3276, allocations: 7.938 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.3276, allocations: 4 kB / 1.054 GB, free: 6.246 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001718/0.3278, allocations: 43.88 kB / 1.055 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3281, allocations: 241 kB / 1.055 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3283, allocations: 46.48 kB / 1.055 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.3284, allocations: 24.91 kB / 1.055 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.28e-05/0.3285, allocations: 81.11 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3285, allocations: 30.56 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3285, allocations: 0 / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000362/0.3289, allocations: 93.42 kB / 1.055 GB, free: 5.602 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.3289, allocations: 55.53 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.812e-05/0.329, allocations: 109.8 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.329, allocations: 25.7 kB / 1.055 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.468e-05/0.3291, allocations: 80.14 kB / 1.055 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.3291, allocations: 3.906 kB / 1.055 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.3291, allocations: 17.72 kB / 1.055 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3293, allocations: 314.8 kB / 1.056 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.817e-05/0.3293, allocations: 15.98 kB / 1.056 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.38e-05/0.3294, allocations: 19.98 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3296, allocations: 44.75 kB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3296, allocations: 0 / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002028/0.3298, allocations: 65.61 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3298, allocations: 12.09 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.3298, allocations: 256 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3299, allocations: 0 / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.308e-05/0.33, allocations: 15.98 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.33, allocations: 0 / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.33, allocations: 7.984 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.33, allocations: 0 / 1.056 GB, free: 4.773 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 (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 6.551e-05/0.3301, allocations: 111.3 kB / 1.056 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.3301, allocations: 4 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.3304, allocations: 76.72 kB / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.3304, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3304, allocations: 0 / 1.056 GB, free: 4.574 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.3304, allocations: 4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001534/0.3306, allocations: 169.5 kB / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3306, allocations: 0 / 1.056 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.139e-05/0.3306, allocations: 7.984 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3307, allocations: 4.031 kB / 1.056 GB, free: 4.344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.602e-06/0.3307, allocations: 4 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.3307, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3307, allocations: 0 / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/0.3309, allocations: 171.3 kB / 1.056 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.352e-05/0.331, allocations: 77.11 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.331, allocations: 4.031 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.036e-05/0.3311, allocations: 7.984 kB / 1.056 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.3311, allocations: 7.938 kB / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3311, allocations: 0 / 1.056 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.889e-05/0.3312, allocations: 87.27 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3312, allocations: 0 / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002376/0.3314, allocations: 12 kB / 1.056 GB, free: 3.945 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 (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.000168/0.3316, allocations: 107.2 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002172/0.3318, allocations: 39.95 kB / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3318, allocations: 0 / 1.057 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.3319, allocations: 19.98 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.3323, allocations: 11.88 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.3325, allocations: 111.4 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.3328, allocations: 0.677 MB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.402e-05/0.3328, allocations: 0 / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.858e-05/0.3328, allocations: 7.438 kB / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of SimCode: time 2.61e-07/0.3328, allocations: 0 / 1.057 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of Templates: time 0.00266/0.3355, allocations: 0.5237 MB / 1.058 GB, free: 2.391 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches