Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001472/0.001472, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001622/0.001622, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.693/2.693, allocations: 359 MB / 0.6048 GB, free: 10.96 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y_comp|y|ex|der.y_comp.|der.y.",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.513e-05/2.695e-05, allocations: 7 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002028/0.002055, allocations: 0.6177 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0004504/0.002506, allocations: 147.4 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.595e-05/0.002532, allocations: 0.6875 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.116e-05/0.002543, allocations: 0 / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.002569, allocations: 0.8438 kB / 0.7872 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003094/0.002878, allocations: 39.83 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.332e-05/0.002931, allocations: 12.58 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.861e-05/0.00297, allocations: 5.031 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.542e-05/0.003005, allocations: 11.92 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.003077, allocations: 11.98 kB / 0.7873 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.41e-05/0.003091, allocations: 1.938 kB / 0.7873 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.003181, allocations: 27.97 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.003194, allocations: 3.938 kB / 0.7873 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.003226, allocations: 15.97 kB / 0.7873 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001123/0.003338, allocations: 31.94 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.00334, allocations: 0.6562 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.192e-06/0.003342, allocations: 3.938 kB / 0.7873 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003346, allocations: 4.844 kB / 0.7873 GB, free: 11.85 MB / 0.7448 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.0004279/0.003774, allocations: 250.3 kB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.003819, allocations: 13.22 kB / 0.7876 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.6e-05/0.003865, allocations: 0.9375 kB / 0.7876 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.003984, allocations: 105.8 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.003997, allocations: 1.781 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.558e-05/0.004032, allocations: 8.375 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.004182, allocations: 75.88 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.00419, allocations: 1.25 kB / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.0042, allocations: 384 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004204, allocations: 384 / 0.7878 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.535e-05/0.004259, allocations: 17.5 kB / 0.7878 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001846/0.004443, allocations: 113.2 kB / 0.7879 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.004559, allocations: 50.61 kB / 0.788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.86e-05/0.004598, allocations: 12.98 kB / 0.788 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.36e-05/0.004671, allocations: 8.609 kB / 0.788 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.004713, allocations: 40.16 kB / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 9.32e-07/0.004713, allocations: 0 / 0.788 GB, free: 11.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.001432/0.006146, allocations: 404.2 kB / 0.7884 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.006199, allocations: 59.34 kB / 0.7885 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.818e-05/0.006297, allocations: 89.86 kB / 0.7885 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.006324, allocations: 29.7 kB / 0.7886 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.006372, allocations: 82.61 kB / 0.7886 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.006415, allocations: 27.78 kB / 0.7887 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.647e-05/0.006462, allocations: 21.72 kB / 0.7887 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.00664, allocations: 314.8 kB / 0.789 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/0.006681, allocations: 15.94 kB / 0.789 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.22e-05/0.006713, allocations: 19.97 kB / 0.789 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.006791, allocations: 33.61 kB / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.61e-07/0.006792, allocations: 0 / 0.7891 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001396/0.006931, allocations: 74.36 kB / 0.7891 GB, free: 9.805 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.006947, allocations: 4 kB / 0.7891 GB, free: 9.801 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006951, allocations: 4.469 kB / 0.7891 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.00697, allocations: 1.625 kB / 0.7891 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.077e-05/0.007061, allocations: 19.92 kB / 0.7892 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.007071, allocations: 3.938 kB / 0.7892 GB, free: 9.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.056e-05/0.007102, allocations: 8 kB / 0.7892 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.007109, allocations: 0.5312 kB / 0.7892 GB, free: 9.766 MB / 0.7448 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 0.0001079/0.007217, allocations: 111.2 kB / 0.7893 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.007238, allocations: 8 kB / 0.7893 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.007424, allocations: 73.64 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.007426, allocations: 1.156 kB / 0.7894 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.007436, allocations: 7.938 kB / 0.7894 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.007447, allocations: 3.984 kB / 0.7894 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.007576, allocations: 110.7 kB / 0.7895 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.00758, allocations: 4 kB / 0.7895 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.614e-05/0.007666, allocations: 15.92 kB / 0.7895 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.007674, allocations: 5.75 kB / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.007681, allocations: 0 / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.007682, allocations: 192 / 0.7895 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.007686, allocations: 4 kB / 0.7895 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.007909, allocations: 121 kB / 0.7896 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.007915, allocations: 0.7812 kB / 0.7896 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.00793, allocations: 4.031 kB / 0.7896 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.476e-05/0.007975, allocations: 5.594 kB / 0.7896 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.347e-05/0.007999, allocations: 7.984 kB / 0.7896 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.008013, allocations: 7.938 kB / 0.7896 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.955e-05/0.008073, allocations: 79.28 kB / 0.7897 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.008073, allocations: 0.875 kB / 0.7897 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002375/0.00831, allocations: 27.94 kB / 0.7897 GB, free: 9.125 MB / 0.7448 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.0002558/0.008566, allocations: 138.6 kB / 0.7899 GB, free: 8.984 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001218/0.008688, allocations: 31.98 kB / 0.7899 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.00869, allocations: 4 kB / 0.7899 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.923e-05/0.008729, allocations: 19.92 kB / 0.7899 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000155/0.008884, allocations: 9.891 kB / 0.7899 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.009262, allocations: 140.5 kB / 0.7901 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.138e-05/0.009333, allocations: 71.72 kB / 0.7901 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.599e-05/0.009369, allocations: 6.484 kB / 0.7901 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.928e-05/0.009408, allocations: 16.48 kB / 0.7902 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of SimCode: time 5.92e-07/0.009409, allocations: 2.188 kB / 0.7902 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of Templates: time 0.003824/0.01323, allocations: 0.9002 MB / 0.791 GB, free: 7.785 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_SmoothExponentialDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.595973733928986]