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.001338/0.001338, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.437/1.437, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.587/2.587, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.89 kB / 0.8692 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6227/0.6246, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001685/0.6263, allocations: 0.6005 MB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.6267, allocations: 163.4 kB / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.139e-05/0.6267, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.405e-05/0.6268, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.055e-05/0.6268, allocations: 0 / 1.018 GB, free: 1.727 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.6271, allocations: 35.89 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.006e-05/0.6271, allocations: 23.92 kB / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.305e-05/0.6272, allocations: 0 / 1.018 GB, free: 1.668 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.801e-05/0.6272, allocations: 11.92 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.309e-05/0.6272, allocations: 11.98 kB / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.6273, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.6273, allocations: 35.91 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.6274, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.452e-05/0.6274, allocations: 19.91 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.711e-05/0.6275, allocations: 27.91 kB / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.6275, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.222e-06/0.6275, allocations: 0 / 1.018 GB, free: 1.562 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.6275, allocations: 4 kB / 1.018 GB, free: 1.559 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.0003214/0.6278, allocations: 331.5 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.6279, allocations: 8.031 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.88e-05/0.6279, allocations: 4.938 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.628, allocations: 164.4 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-06/0.628, allocations: 384 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.628, allocations: 8.375 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.438e-05/0.6281, allocations: 42.25 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.6282, allocations: 8.125 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6282, allocations: 3.938 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.6282, allocations: 0 / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.19e-05/0.6282, allocations: 15.98 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001508/0.6284, allocations: 163.6 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 8.738e-05/0.6285, allocations: 42.62 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.98e-05/0.6285, allocations: 16.98 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.727e-05/0.6286, allocations: 89.09 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/0.6286, allocations: 34.5 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=5): time 9.82e-07/0.6287, allocations: 0 / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of matching and sorting (n=7): time 0.001204/0.6299, allocations: 496.1 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/0.6299, allocations: 51.41 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.175e-05/0.63, allocations: 93.86 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.63, allocations: 29.83 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.63, allocations: 84.14 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.193e-05/0.6301, allocations: 23.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.6301, allocations: 17.72 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.6302, allocations: 314.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.043e-05/0.6302, allocations: 15.94 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.646e-05/0.6303, allocations: 19.97 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.016e-05/0.6303, allocations: 36.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.6303, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001028/0.6305, allocations: 69.69 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.6305, allocations: 7.938 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.6305, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6305, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.668e-05/0.6306, allocations: 15.98 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.6306, allocations: 320 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.6306, allocations: 8 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.6306, allocations: 0 / 1.02 GB, free: 15.08 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 6.879e-05/0.6307, allocations: 113.8 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.385e-05/0.6307, allocations: 7.938 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.6309, allocations: 97.45 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6309, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.6309, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.6309, allocations: 0 / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.631, allocations: 165.8 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.631, allocations: 7.984 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.183e-05/0.6311, allocations: 19.92 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6311, allocations: 3.938 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.6312, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.6312, allocations: 4 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.6312, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.6313, allocations: 113.1 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.6314, allocations: 81.05 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.6314, allocations: 4.031 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.401e-05/0.6315, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.149e-05/0.6315, allocations: 8.047 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.6315, allocations: 8 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.397e-05/0.6315, allocations: 75.28 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6315, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002135/0.6318, allocations: 28 kB / 1.021 GB, free: 14.24 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.0001828/0.6319, allocations: 135.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001145/0.6321, allocations: 39.98 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.6321, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.446e-05/0.6321, allocations: 28.02 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.6323, allocations: 5.547 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000268/0.6326, allocations: 137.5 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.6328, allocations: 0.6846 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.761e-05/0.6329, allocations: 11.94 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.6329, allocations: 11.44 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6329, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Templates: time 0.002913/0.6358, allocations: 0.8777 MB / 1.023 GB, free: 12.26 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