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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001355/0.001355, allocations: 105 kB / 15.98 MB, free: 6.348 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.001438/0.001438, allocations: 197.7 kB / 16.91 MB, free: 6.188 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.398/1.398, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.424/2.424, allocations: 390.2 MB / 0.665 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 65.25 kB / 0.8127 GB, free: 33.31 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3243/0.3256, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.002838/0.3285, allocations: 1.512 MB / 0.9512 GB, free: 7.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004035/0.3289, allocations: 184.3 kB / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.329, allocations: 0 / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.984e-05/0.329, allocations: 0 / 0.9514 GB, free: 7.52 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.3291, allocations: 11.92 kB / 0.9514 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002721/0.3294, allocations: 27.97 kB / 0.9515 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.3294, allocations: 19.92 kB / 0.9515 GB, free: 7.461 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.685e-05/0.3295, allocations: 8 kB / 0.9515 GB, free: 7.453 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.179e-05/0.3296, allocations: 7.938 kB / 0.9515 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.3296, allocations: 15.98 kB / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.3296, allocations: 0 / 0.9515 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.124e-05/0.3297, allocations: 39.97 kB / 0.9515 GB, free: 7.391 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.758e-05/0.3298, allocations: 11.92 kB / 0.9516 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.517e-05/0.3298, allocations: 11.92 kB / 0.9516 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.3299, allocations: 19.97 kB / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3299, allocations: 0 / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3299, allocations: 0 / 0.9516 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3299, allocations: 4 kB / 0.9516 GB, free: 7.344 MB / 0.7325 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.0004285/0.3303, allocations: 351.7 kB / 0.9519 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3304, allocations: 12.03 kB / 0.9519 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.751e-05/0.3304, allocations: 4.844 kB / 0.9519 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3305, allocations: 172.3 kB / 0.9521 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.894e-06/0.3305, allocations: 384 / 0.9521 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.3306, allocations: 384 / 0.9521 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.3307, allocations: 50.23 kB / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.3308, allocations: 192 / 0.9522 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3308, allocations: 3.938 kB / 0.9522 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3308, allocations: 4 kB / 0.9522 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.331, allocations: 35.95 kB / 0.9522 GB, free: 6.629 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.3313, allocations: 245 kB / 0.9524 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3314, allocations: 46.42 kB / 0.9525 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.3315, allocations: 24.91 kB / 0.9525 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.3316, allocations: 77.11 kB / 0.9526 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3317, allocations: 34.56 kB / 0.9526 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3317, allocations: 0 / 0.9526 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003527/0.332, allocations: 89.48 kB / 0.9527 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.3321, allocations: 59.47 kB / 0.9527 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.3322, allocations: 101.8 kB / 0.9528 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3322, allocations: 25.7 kB / 0.9529 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.177e-05/0.3322, allocations: 88.14 kB / 0.953 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3323, allocations: 3.906 kB / 0.953 GB, free: 5.723 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.108e-05/0.3323, allocations: 13.72 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3324, allocations: 318.8 kB / 0.9533 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.3325, allocations: 19.92 kB / 0.9533 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.127e-05/0.3326, allocations: 19.98 kB / 0.9533 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3327, allocations: 36.81 kB / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3327, allocations: 0 / 0.9533 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001962/0.3329, allocations: 69.55 kB / 0.9534 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.333, allocations: 8.094 kB / 0.9534 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.333, allocations: 4 kB / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.333, allocations: 0 / 0.9534 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.3331, allocations: 7.984 kB / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3331, allocations: 0 / 0.9534 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.65e-05/0.3331, allocations: 7.984 kB / 0.9534 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.3332, allocations: 0 / 0.9534 GB, free: 5.203 MB / 0.7325 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 7.144e-05/0.3332, allocations: 119.8 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.3333, allocations: 4 kB / 0.9536 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002389/0.3335, allocations: 72.78 kB / 0.9536 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3335, allocations: 0 / 0.9536 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.3335, allocations: 0 / 0.9536 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3335, allocations: 3.938 kB / 0.9536 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001699/0.3337, allocations: 169.5 kB / 0.9538 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3337, allocations: 7.984 kB / 0.9538 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.655e-05/0.3338, allocations: 8.234 kB / 0.9538 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3338, allocations: 4.031 kB / 0.9538 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.3338, allocations: 4 kB / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3338, allocations: 0 / 0.9538 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3338, allocations: 4 kB / 0.9538 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.3341, allocations: 167.4 kB / 0.954 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.785e-05/0.3341, allocations: 77.11 kB / 0.9541 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3341, allocations: 4.031 kB / 0.9541 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.3342, allocations: 7.984 kB / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.3343, allocations: 0 / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3343, allocations: 0 / 0.9541 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.3343, allocations: 83.28 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3343, allocations: 4 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002336/0.3346, allocations: 11.98 kB / 0.9542 GB, free: 4.367 MB / 0.7325 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.0001674/0.3347, allocations: 107.2 kB / 0.9543 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.335, allocations: 47.83 kB / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.335, allocations: 0 / 0.9543 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.335, allocations: 19.98 kB / 0.9543 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3353, allocations: 3.938 kB / 0.9543 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002896/0.3356, allocations: 143.4 kB / 0.9545 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.3359, allocations: 0.6844 MB / 0.9551 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.3359, allocations: 7.438 kB / 0.9551 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3359, allocations: 0 / 0.9551 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of Templates: time 0.001951/0.3379, allocations: 0.6542 MB / 0.9558 GB, free: 2.641 MB / 0.7325 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