Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|smoothExponential.y",fileNamePrefix="Buildings_9_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.001505/0.001505, allocations: 100.1 kB / 15.88 MB, free: 12 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.001564/0.001565, allocations: 195.9 kB / 16.79 MB, free: 6.809 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.421/1.421, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.2 MB / 0.6649 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002559/0.002558, allocations: 67.91 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6825/0.6851, allocations: 140.3 MB / 0.9496 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002146/0.6873, allocations: 1.502 MB / 0.951 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003559/0.6877, allocations: 195.8 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.224e-05/0.6877, allocations: 1.406 kB / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.899e-05/0.6878, allocations: 0 / 0.9512 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.175e-05/0.6878, allocations: 15.91 kB / 0.9512 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/0.688, allocations: 20.95 kB / 0.9513 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.6881, allocations: 25.36 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.498e-05/0.6881, allocations: 7 kB / 0.9513 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.382e-05/0.6882, allocations: 8.375 kB / 0.9513 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.774e-05/0.6882, allocations: 15.22 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.6882, allocations: 1.625 kB / 0.9513 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.6883, allocations: 31.28 kB / 0.9513 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.197e-05/0.6883, allocations: 7.922 kB / 0.9514 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.117e-05/0.6884, allocations: 15.75 kB / 0.9514 GB, free: 7.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.903e-05/0.6884, allocations: 18.66 kB / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.6884, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.62e-07/0.6884, allocations: 0 / 0.9514 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.6885, allocations: 1.469 kB / 0.9514 GB, free: 7.652 MB / 0.7169 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.0003171/0.6888, allocations: 347.8 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.6888, allocations: 8.844 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.822e-05/0.6888, allocations: 3.156 kB / 0.9517 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.6889, allocations: 173.8 kB / 0.9519 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.6889, allocations: 5.875 kB / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.6889, allocations: 384 / 0.9519 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.6891, allocations: 53.8 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6891, allocations: 1.25 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.6891, allocations: 3.938 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.6891, allocations: 1.094 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001459/0.6893, allocations: 38.89 kB / 0.952 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002251/0.6895, allocations: 245.7 kB / 0.9522 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.6896, allocations: 46.7 kB / 0.9523 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.6897, allocations: 22.5 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.635e-05/0.6898, allocations: 80.3 kB / 0.9524 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.209e-05/0.6898, allocations: 38.56 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6898, allocations: 1.062 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0003002/0.6901, allocations: 81.73 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.618e-05/0.6901, allocations: 51.41 kB / 0.9525 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.928e-05/0.6902, allocations: 104.3 kB / 0.9526 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.6902, allocations: 29.7 kB / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.078e-05/0.6902, allocations: 89.52 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.399e-05/0.6902, allocations: 5.125 kB / 0.9528 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.6903, allocations: 15.88 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.567e-05/0.6903, allocations: 320.2 kB / 0.9531 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.6904, allocations: 12.95 kB / 0.9531 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.313e-05/0.6905, allocations: 16.83 kB / 0.9531 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.6906, allocations: 44.56 kB / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.6906, allocations: 0 / 0.9531 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001631/0.6908, allocations: 68.86 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.6908, allocations: 4.844 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.6908, allocations: 1.188 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6908, allocations: 256 / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.6909, allocations: 22.7 kB / 0.9532 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.6909, allocations: 4 kB / 0.9532 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.691, allocations: 7.953 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.691, allocations: 0 / 0.9533 GB, free: 5.711 MB / 0.7169 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 4.458e-05/0.691, allocations: 112.7 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.332e-05/0.6911, allocations: 1.469 kB / 0.9534 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.6913, allocations: 74 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.6913, allocations: 1.469 kB / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.6913, allocations: 0 / 0.9534 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6913, allocations: 3.984 kB / 0.9534 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.6914, allocations: 163 kB / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6914, allocations: 0 / 0.9536 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.6915, allocations: 10.77 kB / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.6915, allocations: 0 / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.6915, allocations: 0 / 0.9536 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.6915, allocations: 5.312 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6915, allocations: 4.031 kB / 0.9536 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.6917, allocations: 164.2 kB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.6917, allocations: 81.02 kB / 0.9538 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.6917, allocations: 1.375 kB / 0.9538 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.6918, allocations: 6.734 kB / 0.9539 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.6918, allocations: 6.781 kB / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.6918, allocations: 0 / 0.9539 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.057e-05/0.6919, allocations: 87.39 kB / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6919, allocations: 0 / 0.9539 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002262/0.6921, allocations: 9.625 kB / 0.954 GB, free: 4.977 MB / 0.7169 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.0001221/0.6922, allocations: 106.6 kB / 0.9541 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.6924, allocations: 40.52 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.6924, allocations: 8 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.757e-05/0.6925, allocations: 20.3 kB / 0.9541 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/0.6928, allocations: 9.531 kB / 0.9541 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002194/0.693, allocations: 135.3 kB / 0.9543 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.509e-05/0.6931, allocations: 0.6779 MB / 0.9549 GB, free: 4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.6931, allocations: 12.72 kB / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.6931, allocations: 0 / 0.9549 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of Templates: time 0.001827/0.695, allocations: 0.6623 MB / 0.9556 GB, free: 3.656 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_SmoothExponential.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.SmoothExponential.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches