Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001616/0.001616, 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.001779/0.001779, allocations: 196.8 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.539 MB / 190.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.45/2.45, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9671/0.9683, allocations: 140.3 MB / 0.9489 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001828/0.9702, allocations: 0.6694 MB / 0.9496 GB, free: 8.754 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005021/0.9707, allocations: 162.1 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.643e-05/0.9708, allocations: 1.062 kB / 0.9497 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.9708, allocations: 3.938 kB / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.333e-05/0.9708, allocations: 0 / 0.9497 GB, free: 8.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003619/0.9712, allocations: 34 kB / 0.9498 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.9713, allocations: 14.88 kB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.068e-05/0.9714, allocations: 2.375 kB / 0.9498 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.904e-05/0.9714, allocations: 15.25 kB / 0.9498 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/0.9715, allocations: 6.312 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.9715, allocations: 1.438 kB / 0.9498 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.9716, allocations: 30.84 kB / 0.9498 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.9716, allocations: 5.078 kB / 0.9498 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.9716, allocations: 11.23 kB / 0.9498 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.9718, allocations: 27.78 kB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.9718, allocations: 1.156 kB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.503e-06/0.9718, allocations: 0 / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.9718, allocations: 4 kB / 0.9499 GB, free: 8.531 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003545/0.9722, allocations: 337.7 kB / 0.9502 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.9722, allocations: 10.19 kB / 0.9502 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.9723, allocations: 6.172 kB / 0.9502 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.965e-05/0.9724, allocations: 161.5 kB / 0.9504 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.9724, allocations: 1.562 kB / 0.9504 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.9724, allocations: 1.719 kB / 0.9504 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001127/0.9725, allocations: 42.38 kB / 0.9504 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9725, allocations: 4.188 kB / 0.9504 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.9725, allocations: 9.219 kB / 0.9504 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9726, allocations: 3.984 kB / 0.9504 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.488e-05/0.9726, allocations: 12.92 kB / 0.9504 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001356/0.9727, allocations: 168.5 kB / 0.9506 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.9728, allocations: 44.69 kB / 0.9506 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.092e-05/0.9729, allocations: 16.61 kB / 0.9507 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.42e-05/0.973, allocations: 87.81 kB / 0.9507 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.697e-05/0.973, allocations: 31.78 kB / 0.9508 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.973, allocations: 0 / 0.9508 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.001287/0.9743, allocations: 491.5 kB / 0.9512 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.9743, allocations: 52.62 kB / 0.9513 GB, free: 7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.006e-05/0.9744, allocations: 96.28 kB / 0.9514 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.18e-05/0.9744, allocations: 29.83 kB / 0.9514 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.017e-05/0.9744, allocations: 85.3 kB / 0.9515 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.9745, allocations: 18.03 kB / 0.9515 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/0.9745, allocations: 27.27 kB / 0.9515 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.695e-05/0.9746, allocations: 312.2 kB / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.656e-05/0.9746, allocations: 15.48 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.792e-05/0.9747, allocations: 15.14 kB / 0.9519 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.273e-05/0.9748, allocations: 30.27 kB / 0.9519 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.9748, allocations: 7.938 kB / 0.9519 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000126/0.9749, allocations: 71.62 kB / 0.952 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.9749, allocations: 9.594 kB / 0.952 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.9749, allocations: 0 / 0.952 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/0.975, allocations: 3.984 kB / 0.952 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.492e-05/0.9751, allocations: 11.97 kB / 0.952 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9751, allocations: 3.938 kB / 0.952 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.501e-05/0.9751, allocations: 1.406 kB / 0.952 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.9751, allocations: 1.375 kB / 0.952 GB, free: 6.32 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 (8): * Single equations (assignments): 8 * 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.648e-05/0.9752, allocations: 116.7 kB / 0.9521 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.9752, allocations: 5.344 kB / 0.9521 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.9754, allocations: 96.67 kB / 0.9522 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.9754, allocations: 0 / 0.9522 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.9754, allocations: 1.25 kB / 0.9522 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9754, allocations: 0 / 0.9522 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000133/0.9756, allocations: 161.7 kB / 0.9524 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.9756, allocations: 4 kB / 0.9524 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.9757, allocations: 19.8 kB / 0.9524 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.239e-06/0.9757, allocations: 9.25 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.9757, allocations: 0 / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.9757, allocations: 1.312 kB / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9757, allocations: 0 / 0.9524 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.9759, allocations: 114.1 kB / 0.9525 GB, free: 5.805 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.9759, allocations: 82.45 kB / 0.9526 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.976, allocations: 5.25 kB / 0.9526 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.976, allocations: 1.188 kB / 0.9526 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.976, allocations: 11.95 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.473e-06/0.9761, allocations: 1.312 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.9761, allocations: 76.47 kB / 0.9527 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9761, allocations: 0 / 0.9527 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002412/0.9763, allocations: 32.12 kB / 0.9527 GB, free: 5.613 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (8): * Single equations (assignments): 8 * 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.0002594/0.9766, allocations: 133.6 kB / 0.9528 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001382/0.9767, allocations: 36.36 kB / 0.9529 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/0.9768, allocations: 5.25 kB / 0.9529 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.176e-05/0.9768, allocations: 26.17 kB / 0.9529 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/0.977, allocations: 7.969 kB / 0.9529 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003615/0.9773, allocations: 152.1 kB / 0.9531 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001324/0.9775, allocations: 0.6805 MB / 0.9537 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.277e-05/0.9775, allocations: 7.75 kB / 0.9537 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.266e-05/0.9776, allocations: 11.31 kB / 0.9537 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.9776, allocations: 0 / 0.9537 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of Templates: time 0.003443/0.981, allocations: 0.8622 MB / 0.9546 GB, free: 4.168 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches