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.004604/0.004604, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001259/0.001259, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 15.14 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 1.978/1.978, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001072/0.001072, allocations: 68.12 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7304/0.7315, allocations: 140.4 MB / 1.088 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001502/0.733, allocations: 0.5914 MB / 1.089 GB, free: 5.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.7334, allocations: 158.7 kB / 1.089 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.7334, allocations: 4.969 kB / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.7335, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 1.867e-05/0.7335, allocations: 0 / 1.089 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.7338, allocations: 51.66 kB / 1.089 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.7339, allocations: 21.03 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.7339, allocations: 2.734 kB / 1.089 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.142e-05/0.734, allocations: 8.25 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.97e-05/0.734, allocations: 12.38 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.734, allocations: 1.094 kB / 1.089 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.835e-05/0.7341, allocations: 33.38 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.352e-05/0.7342, allocations: 1.625 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.095e-05/0.7342, allocations: 7.312 kB / 1.089 GB, free: 4.996 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.7343, allocations: 39.06 kB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7343, allocations: 0 / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7343, allocations: 0 / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.7343, allocations: 0 / 1.089 GB, free: 4.977 MB / 0.8575 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.0003041/0.7346, allocations: 327.6 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.7347, allocations: 9.969 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.486e-05/0.7347, allocations: 2.031 kB / 1.089 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.738e-05/0.7348, allocations: 166.8 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.7348, allocations: 5.438 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.7348, allocations: 3.344 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.928e-05/0.7349, allocations: 41.27 kB / 1.089 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.7349, allocations: 9.141 kB / 1.089 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.735, allocations: 7.938 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.735, allocations: 1.344 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.681e-05/0.735, allocations: 11.62 kB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000129/0.7352, allocations: 166.3 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.443e-05/0.7352, allocations: 52.86 kB / 1.09 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.7353, allocations: 18.64 kB / 1.09 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.482e-05/0.7354, allocations: 85.2 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.7354, allocations: 35.56 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 9.51e-07/0.7354, allocations: 0 / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.001104/0.7365, allocations: 486.4 kB / 1.09 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.7365, allocations: 57.09 kB / 1.09 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.967e-05/0.7366, allocations: 96.23 kB / 1.09 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.468e-06/0.7366, allocations: 26.89 kB / 1.09 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.301e-05/0.7366, allocations: 84.14 kB / 1.09 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.7366, allocations: 18.67 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.7367, allocations: 21.22 kB / 1.091 GB, free: 3.258 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.7367, allocations: 317.1 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.002e-05/0.7368, allocations: 17.36 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.273e-05/0.7368, allocations: 8.703 kB / 1.091 GB, free: 2.934 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.7369, allocations: 44 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.7369, allocations: 1.062 kB / 1.091 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 9.51e-05/0.737, allocations: 66.94 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.737, allocations: 10.08 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.737, allocations: 0 / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.737, allocations: 1.734 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.68e-05/0.7371, allocations: 13.09 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.7371, allocations: 0 / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.7371, allocations: 5.891 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.7371, allocations: 2.344 kB / 1.091 GB, free: 2.855 MB / 0.8575 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 4.479e-05/0.7372, allocations: 115.8 kB / 1.091 GB, free: 2.734 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.15e-05/0.7372, allocations: 10.25 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.7374, allocations: 84.08 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7374, allocations: 1.062 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.7374, allocations: 1.891 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7374, allocations: 0 / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.695e-05/0.7375, allocations: 167 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7375, allocations: 1.156 kB / 1.091 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.812e-05/0.7376, allocations: 21.42 kB / 1.091 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.686e-06/0.7376, allocations: 7.875 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.7376, allocations: 1.641 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7376, allocations: 1.125 kB / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.7376, allocations: 0 / 1.091 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.7378, allocations: 114.8 kB / 1.091 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.7378, allocations: 91.72 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.7378, allocations: 6.016 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.364e-05/0.7379, allocations: 6.453 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.7379, allocations: 3.438 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.7379, allocations: 3.359 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.513e-05/0.7379, allocations: 76.94 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7379, allocations: 0 / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002094/0.7381, allocations: 33.47 kB / 1.092 GB, free: 2.172 MB / 0.8575 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.0001916/0.7383, allocations: 136.6 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001283/0.7385, allocations: 37.83 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.7385, allocations: 0 / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 4.249e-05/0.7385, allocations: 25.11 kB / 1.092 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.7387, allocations: 6.281 kB / 1.092 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002736/0.7389, allocations: 141.8 kB / 1.092 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.7391, allocations: 0.6795 MB / 1.093 GB, free: 1.234 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.265e-05/0.7391, allocations: 17.17 kB / 1.093 GB, free: 1.223 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.7391, allocations: 11.91 kB / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of SimCode: time 2.21e-07/0.7391, allocations: 0 / 1.093 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of Templates: time 0.003226/0.7424, allocations: 0.8799 MB / 1.094 GB, free: 1.109 MB / 0.8575 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