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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001769/0.001769, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001932/0.001932, allocations: 190.8 kB / 16.25 MB, free: 6.637 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.879/2.879, allocations: 437 MB / 0.7101 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.83 kB / 0.8688 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6668/0.6688, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001846/0.6707, allocations: 0.6604 MB / 1.017 GB, free: 2.035 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003899/0.6711, allocations: 159.5 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.6711, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.686e-05/0.6712, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 1.926e-05/0.6712, allocations: 3.938 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.6715, allocations: 27.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.598e-05/0.6715, allocations: 15.97 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.58e-05/0.6716, allocations: 4 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.252e-05/0.6716, allocations: 11.94 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.111e-05/0.6717, allocations: 3.984 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.6717, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.076e-05/0.6718, allocations: 31.97 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.6718, allocations: 3.984 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.221e-05/0.6718, allocations: 11.94 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.6719, allocations: 39.88 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6719, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.653e-06/0.672, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.672, allocations: 0 / 1.018 GB, free: 1.719 MB / 0.7637 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.0004384/0.6724, allocations: 331.5 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.6724, allocations: 8.031 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.6725, allocations: 0.9375 kB / 1.018 GB, free: 1.336 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.6726, allocations: 164.3 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.6726, allocations: 12.38 kB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.813e-05/0.6727, allocations: 384 / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.6728, allocations: 46.23 kB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.6728, allocations: 4.125 kB / 1.018 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.6728, allocations: 3.938 kB / 1.018 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-06/0.6728, allocations: 4 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.339e-05/0.6729, allocations: 16 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.6731, allocations: 155.6 kB / 1.018 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.6732, allocations: 50.56 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.608e-05/0.6732, allocations: 20.97 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.6733, allocations: 81.11 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.6734, allocations: 34.56 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 2.815e-06/0.6734, allocations: 3.984 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of matching and sorting (n=7): time 0.001323/0.6747, allocations: 495.8 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.573e-05/0.6748, allocations: 59.41 kB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.706e-05/0.6749, allocations: 93.86 kB / 1.019 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.6749, allocations: 25.7 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.6749, allocations: 80.14 kB / 1.019 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.675, allocations: 27.69 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.675, allocations: 21.72 kB / 1.019 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.6752, allocations: 310.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.376e-05/0.6752, allocations: 16.11 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.216e-05/0.6752, allocations: 15.94 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.015e-05/0.6753, allocations: 41.28 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.6753, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001191/0.6754, allocations: 65.62 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.6755, allocations: 11.94 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.6755, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.6755, allocations: 4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.6756, allocations: 15.98 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.6756, allocations: 0 / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.789e-05/0.6756, allocations: 8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.6756, allocations: 4 kB / 1.02 GB, free: 15.22 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.6757, allocations: 105.8 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.49e-05/0.6757, allocations: 7.938 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.6759, allocations: 93.41 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.6759, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.6759, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.676, allocations: 4 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.6761, allocations: 169.7 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6761, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.779e-05/0.6762, allocations: 8 kB / 1.02 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.6762, allocations: 7.938 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.6762, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.6762, allocations: 0 / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6762, allocations: 3.984 kB / 1.02 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001842/0.6764, allocations: 113 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.6765, allocations: 93.12 kB / 1.02 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.336e-05/0.6765, allocations: 3.938 kB / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.486e-05/0.6766, allocations: 0 / 1.02 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.6766, allocations: 8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-06/0.6766, allocations: 7.984 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.6766, allocations: 75.28 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6767, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002302/0.6769, allocations: 28 kB / 1.021 GB, free: 14.41 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 (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.0002471/0.6771, allocations: 135.9 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001304/0.6773, allocations: 44.33 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.6773, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.373e-05/0.6773, allocations: 27.97 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.6775, allocations: 9.062 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/0.6778, allocations: 149.8 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.6782, allocations: 0.6768 MB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.175e-05/0.6782, allocations: 15.91 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.6783, allocations: 11.44 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.6783, allocations: 0 / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of Templates: time 0.003352/0.6816, allocations: 0.8724 MB / 1.022 GB, free: 12.42 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=400 -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