Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.0009244/0.0009242, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.001778/0.001778, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 223.3 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.781/2.781, allocations: 437.7 MB / 0.7117 GB, free: 7.074 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004486, allocations: 15.94 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8629/0.8634, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0007713/0.8642, allocations: 341.2 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003898/0.8646, allocations: 139.7 kB / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.623e-05/0.8647, allocations: 0 / 1.023 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.8647, allocations: 3.938 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.243e-05/0.8647, allocations: 4 kB / 1.023 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.865, allocations: 27.97 kB / 1.023 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.8651, allocations: 15.98 kB / 1.023 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.448e-05/0.8651, allocations: 3.938 kB / 1.023 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.12e-05/0.8652, allocations: 7.984 kB / 1.023 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.612e-05/0.8652, allocations: 11.98 kB / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.8653, allocations: 0 / 1.023 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-05/0.8654, allocations: 27.97 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.8654, allocations: 4 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.364e-05/0.8654, allocations: 33.64 kB / 1.023 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.8655, allocations: 19.95 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.8655, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8655, allocations: 3.938 kB / 1.023 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.8655, allocations: 0 / 1.023 GB, free: 15.4 MB / 0.7794 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.0003823/0.8659, allocations: 331.3 kB / 1.023 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.866, allocations: 8.562 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.916e-05/0.866, allocations: 4 kB / 1.023 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.8662, allocations: 159.1 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.8662, allocations: 4 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.8662, allocations: 4 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.8664, allocations: 49.64 kB / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.8664, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.8664, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.8664, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.572e-05/0.8665, allocations: 15.92 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.8667, allocations: 163.7 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.8669, allocations: 46.56 kB / 1.024 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.023e-05/0.8669, allocations: 20.97 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.8671, allocations: 81.05 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.8671, allocations: 38.52 kB / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 3.216e-06/0.8671, allocations: 0 / 1.024 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.001343/0.8685, allocations: 492.4 kB / 1.024 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.8685, allocations: 55.41 kB / 1.024 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.726e-05/0.8686, allocations: 97.8 kB / 1.025 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.8686, allocations: 25.7 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.045e-05/0.8687, allocations: 80.14 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.758e-05/0.8687, allocations: 23.62 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.35e-06/0.8687, allocations: 4 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.8688, allocations: 314.8 kB / 1.025 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.8689, allocations: 12 kB / 1.025 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.8689, allocations: 20.11 kB / 1.025 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.785e-05/0.869, allocations: 16.22 kB / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.869, allocations: 0 / 1.025 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001238/0.8691, allocations: 69.62 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.8691, allocations: 9.672 kB / 1.025 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.8691, allocations: 3.938 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.8691, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.861e-05/0.8692, allocations: 15.98 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.8693, allocations: 4 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.8693, allocations: 0 / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.8693, allocations: 4 kB / 1.025 GB, free: 12.96 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.89e-05/0.8694, allocations: 113.8 kB / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.008e-05/0.8694, allocations: 0 / 1.025 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001827/0.8696, allocations: 97.36 kB / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8696, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8696, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.8696, allocations: 0 / 1.025 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.8698, allocations: 165.7 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.8698, allocations: 4 kB / 1.025 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.839e-05/0.8698, allocations: 12 kB / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.8699, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.8699, allocations: 4 kB / 1.025 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.8699, allocations: 7.938 kB / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8699, allocations: 0 / 1.025 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000185/0.8701, allocations: 117 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.8701, allocations: 77.11 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.598e-05/0.8702, allocations: 4.094 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.315e-05/0.8702, allocations: 8 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.8702, allocations: 7.953 kB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.8702, allocations: 3.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.194e-05/0.8703, allocations: 75.28 kB / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8703, allocations: 0 / 1.026 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002144/0.8705, allocations: 32 kB / 1.026 GB, free: 12.15 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002381/0.8708, allocations: 135.2 kB / 1.026 GB, free: 12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001177/0.8709, allocations: 48 kB / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.8709, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.646e-05/0.8709, allocations: 23.98 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.8711, allocations: 10.47 kB / 1.026 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.8714, allocations: 146.5 kB / 1.026 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.8717, allocations: 0.6809 MB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.852e-05/0.8717, allocations: 12.72 kB / 1.027 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.8718, allocations: 11.44 kB / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8718, allocations: 0 / 1.027 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.003174/0.8749, allocations: 0.8328 MB / 1.028 GB, free: 10.2 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches